Parcourir la source

Avoid implicit keyframe trimming. (#9595)

tschw il y a 9 ans
Parent
commit
7714fe8f6d
1 fichiers modifiés avec 0 ajouts et 3 suppressions
  1. 0 3
      src/animation/AnimationClip.js

+ 0 - 3
src/animation/AnimationClip.js

@@ -28,9 +28,6 @@ function AnimationClip( name, duration, tracks ) {
 
 	}
 
-	// maybe only do these on demand, as doing them here could potentially slow down loading
-	// but leaving these here during development as this ensures a lot of testing of these functions
-	this.trim();
 	this.optimize();
 
 }