Explorar el Código

GeometryUtils.merge should obey object2.autoUpdateMatrix

astrodud hace 15 años
padre
commit
ebd21f962b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/extras/GeometryUtils.js

+ 1 - 1
src/extras/GeometryUtils.js

@@ -14,7 +14,7 @@ var GeometryUtils = {
 		uvs1 = geometry1.uvs,
 		uvs1 = geometry1.uvs,
 		uvs2 = geometry2.uvs;
 		uvs2 = geometry2.uvs;
 
 
-		isMesh && object2.updateMatrix();
+		isMesh && object2.autoUpdateMatrix && object2.updateMatrix();
 
 
 		for ( var i = 0, il = vertices2.length; i < il; i ++ ) {
 		for ( var i = 0, il = vertices2.length; i < il; i ++ ) {
 
 

粤ICP备19079148号