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

SkinnedMesh.bind calculates the skeleton inverses

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

+ 2 - 0
src/objects/SkinnedMesh.js

@@ -88,6 +88,8 @@ THREE.SkinnedMesh.prototype.bind = function( skeleton, bindMatrix ) {
 	if ( bindMatrix === undefined ) {
 
 		this.updateMatrixWorld( true );
+		
+		this.skeleton.calculateInverses();
 
 		bindMatrix = this.matrixWorld;