소스 검색

SkinnedMesh.bind calculates the skeleton inverses

Greg Tatum 10 년 전
부모
커밋
ca6d846cc3
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/objects/SkinnedMesh.js

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