소스 검색

Merge pull request #7892 from tschw/Animation

Animation
Mr.doob 9 년 전
부모
커밋
81242ddcdc
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      src/animation/AnimationMixer.js
  2. 1 1
      src/animation/tracks/ColorKeyframeTrack.js

+ 0 - 1
src/animation/AnimationMixer.js

@@ -738,7 +738,6 @@ THREE.AnimationMixer._Action.prototype = {
 		switch ( loop ) {
 
 			case THREE.LoopOnce:
-			case THREE.LoopOnceClamp:
 
 				if ( loopCount === -1 ) {
 

+ 1 - 1
src/animation/tracks/ColorKeyframeTrack.js

@@ -10,7 +10,7 @@
 
 THREE.ColorKeyframeTrack = function ( name, times, values, interpolation ) {
 
-	THREE.KeyframeTrack.call( this, name, keys, interpolation );
+	THREE.KeyframeTrack.call( this, name, times, values, interpolation );
 
 };