2
0
Эх сурвалжийг харах

SkinnedMesh recalculated matrixWorld and bone inverses in constructor

Greg Tatum 10 жил өмнө
parent
commit
bf16c51941

+ 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 );
 
 };