sebavan 7 rokov pred
rodič
commit
935c27bc11
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/scene.ts

+ 1 - 1
src/scene.ts

@@ -2703,7 +2703,7 @@ import { EngineStore } from "./Engines/engineStore";
          * Useful to override when animations start running when loading a scene for the first time.
          * Useful to override when animations start running when loading a scene for the first time.
          */
          */
         public resetLastAnimationTimeFrame(): void {
         public resetLastAnimationTimeFrame(): void {
-            this._animationTimeLast = BABYLON.Tools.Now;
+            this._animationTimeLast = PrecisionDate.Now;
         }
         }
 
 
         private _animate(): void {
         private _animate(): void {