소스 검색

Skeleton: Fix check of module scope variable.

Mugen87 6 년 전
부모
커밋
a1936ac1bb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/objects/Skeleton.js

+ 1 - 1
src/objects/Skeleton.js

@@ -117,7 +117,7 @@ Object.assign( Skeleton.prototype, {
 
 	update: function () {
 
-		if ( _identityMatrix ) {
+		if ( _identityMatrix === undefined ) {
 
 			_offsetMatrix = new Matrix4();
 			_identityMatrix = new Matrix4();