Browse Source

Update babylon.node.ts

Pavel 7 years ago
parent
commit
881c4bc769
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/babylon.node.ts

+ 1 - 1
src/babylon.node.ts

@@ -415,7 +415,7 @@
             var range = this.getAnimationRange(name);
 
             if (!range) {
-                return;
+                return null;
             }
 
             return this._scene.beginAnimation(this, range.from, range.to, loop, speedRatio, onAnimationEnd);