ソースを参照

Merge pull request #13531 from Mugen87/dev1

Geometry: Clarified .mergeMesh()
Mr.doob 7 年 前
コミット
6ef9c09cc8
1 ファイル変更1 行追加1 行削除
  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号