Browse Source

Skeleton: Fix check of module scope variable.

Mugen87 6 năm trước cách đây
mục cha
commit
a1936ac1bb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();