Browse Source

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe 7 years ago
parent
commit
2c985a30f9
1 changed files with 1 additions and 1 deletions
  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;