2
0
Mr.doob 6 жил өмнө
parent
commit
79504608a4

+ 4 - 2
examples/js/exporters/GLTFExporter.js

@@ -1740,8 +1740,10 @@ THREE.GLTFExporter.prototype = {
 
 
 			} else {
 			} else {
 
 
-				if (object.matrixAutoUpdate) {
-						object.updateMatrix();
+				if ( object.matrixAutoUpdate ) {
+
+					object.updateMatrix();
+
 				}
 				}
 
 
 				if ( ! equalArray( object.matrix.elements, [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 ] ) ) {
 				if ( ! equalArray( object.matrix.elements, [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 ] ) ) {