Преглед на файлове

Merge pull request #3837 from MackeyK24/master

Animation Properties Override Fix
David Catuhe преди 7 години
родител
ревизия
123864d86c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Animations/babylon.runtimeAnimation.ts

+ 1 - 1
src/Animations/babylon.runtimeAnimation.ts

@@ -234,7 +234,7 @@
 
         private _getCorrectLoopMode(): number | undefined {
             if ( this._target && this._target.animationPropertiesOverride) {
-                return this._target.loopMode;
+                return this._target.animationPropertiesOverride.loopMode;
             }
 
             return this._animation.loopMode;