Explorar o código

Update babylon.node.ts

Return animatable for beginAnimation method
Pavel %!s(int64=7) %!d(string=hai) anos
pai
achega
6b2ed6d3c7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/babylon.node.ts

+ 1 - 1
src/babylon.node.ts

@@ -418,7 +418,7 @@
                 return;
             }
 
-            this._scene.beginAnimation(this, range.from, range.to, loop, speedRatio, onAnimationEnd);
+            return this._scene.beginAnimation(this, range.from, range.to, loop, speedRatio, onAnimationEnd);
         }
 
         public serializeAnimationRanges(): any {