ソースを参照

removing high limit conditional from runtime _interpolate function

Kacey Coley 7 年 前
コミット
0c967b5d47
1 ファイル変更0 行追加4 行削除
  1. 0 4
      src/Animations/babylon.runtimeAnimation.ts

+ 0 - 4
src/Animations/babylon.runtimeAnimation.ts

@@ -202,10 +202,6 @@
          * @returns The interpolated value
          */
         private _interpolate(currentFrame: number, repeatCount: number, loopMode?: number, offsetValue?: any, highLimitValue?: any): any {
-            if (loopMode === Animation.ANIMATIONLOOPMODE_CONSTANT && repeatCount > 0) {
-                return highLimitValue.clone ? highLimitValue.clone() : highLimitValue;
-            }
-
             this._currentFrame = currentFrame;
             return this._animation._interpolate(currentFrame, repeatCount, this._workValue, loopMode, offsetValue, highLimitValue);
         }