Browse Source

Fix animation replay bug

David Catuhe 7 năm trước cách đây
mục cha
commit
dca3b632e4

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 10457 - 10457
Playground/babylon.d.txt


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 12099 - 12099
dist/preview release/babylon.d.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 3 - 3
dist/preview release/babylon.js


+ 2 - 0
dist/preview release/babylon.max.js

@@ -42545,6 +42545,8 @@ var BABYLON;
             this._paused = false;
             this._animate(0);
             this._paused = oldPauseState;
+            this._localDelayOffset = null;
+            this._pausedDelay = null;
         };
         Animatable.prototype.enableBlending = function (blendingSpeed) {
             var runtimeAnimations = this._runtimeAnimations;

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 3 - 3
dist/preview release/babylon.worker.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 6 - 6
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.js


+ 2 - 0
dist/preview release/customConfigurations/minimalGLTFViewer/babylon.max.js

@@ -42545,6 +42545,8 @@ var BABYLON;
             this._paused = false;
             this._animate(0);
             this._paused = oldPauseState;
+            this._localDelayOffset = null;
+            this._pausedDelay = null;
         };
         Animatable.prototype.enableBlending = function (blendingSpeed) {
             var runtimeAnimations = this._runtimeAnimations;

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 3 - 3
dist/preview release/viewer/babylon.viewer.js


+ 3 - 0
src/Animations/babylon.animatable.ts

@@ -83,6 +83,9 @@
             this._paused = false;
             this._animate(0);
             this._paused = oldPauseState;
+
+            this._localDelayOffset = null;
+            this._pausedDelay = null;
         }
 
         public enableBlending(blendingSpeed: number): void {

BIN
tests/validation/ReferenceImages/SpaceDeK.png