Explorar o código

Merge pull request #17202 from Mugen87/dev34

Skeleton: Fix check of module scope variable.
Michael Herzog %!s(int64=6) %!d(string=hai) anos
pai
achega
b749f96a56
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();