Explorar o código

Geometry: Clarified .mergeMesh()

Mugen87 %!s(int64=7) %!d(string=hai) anos
pai
achega
75efcdb75e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/Geometry.js

+ 1 - 1
src/core/Geometry.js

@@ -809,7 +809,7 @@ Geometry.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
 
 		}
 
-		mesh.matrixAutoUpdate && mesh.updateMatrix();
+		if ( mesh.matrixAutoUpdate ) mesh.updateMatrix();
 
 		this.merge( mesh.geometry, mesh.matrix );
 

粤ICP备19079148号