Procházet zdrojové kódy

Skeleton: Fix check of module scope variable.

Mugen87 před 6 roky
rodič
revize
a1936ac1bb
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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();