2
0
Эх сурвалжийг харах

inlined isKeyExistOnFrame

Lewy Blue 7 жил өмнө
parent
commit
67f4855b5a

+ 1 - 7
examples/js/loaders/FBXLoader.js

@@ -2654,18 +2654,12 @@
 
 		return AXES.every( function ( key ) {
 
-			return isKeyExistOnFrame( attributeNode.curves[ key ], frame );
+			return attributeNode.curves[ key ].values[ frame ] !== undefined;
 
 		} );
 
 	}
 
-	function isKeyExistOnFrame( curve, frame ) {
-
-		return curve.values[ frame ] !== undefined;
-
-	}
-
 	// parse an FBX file in ASCII format
 	function TextParser() {}