Tiago de Pádua пре 10 година
родитељ
комит
82e98bc68f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/animation/KeyframeTrack.js

+ 1 - 1
src/animation/KeyframeTrack.js

@@ -163,7 +163,7 @@ THREE.KeyframeTrack.prototype = {
 				return;
 			}
 
-			if ( ( typeof currKey.time ) !== 'number' || Number.isNaN( currKey.time ) ) {
+			if ( ( typeof currKey.time ) !== 'number' || isNaN( currKey.time ) ) {
 				console.error( "  key.time is not a valid number", this, i, currKey );
 				return;
 			}