浏览代码

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();