Просмотр исходного кода

SkinnedMesh recalculated matrixWorld and bone inverses in constructor

Greg Tatum 10 лет назад
Родитель
Сommit
bf16c51941
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/objects/SkinnedMesh.js

+ 1 - 1
src/objects/SkinnedMesh.js

@@ -60,7 +60,7 @@ THREE.SkinnedMesh = function ( geometry, material, useVertexTexture ) {
 	this.normalizeSkinWeights();
 
 	this.updateMatrixWorld( true );
-	this.bind( new THREE.Skeleton( bones, undefined, useVertexTexture ) );
+	this.bind( new THREE.Skeleton( bones, undefined, useVertexTexture ), this.matrixWorld );
 
 };
 

粤ICP备19079148号