Browse Source

Fix #19328

Make behavior of AnimationAction.stop() and AnimationMixer.stopAllActions() consistent.
Wouter Vanmontfort 5 năm trước cách đây
mục cha
commit
a6a58d633c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/animation/AnimationMixer.js

+ 1 - 0
src/animation/AnimationMixer.js

@@ -622,6 +622,7 @@ AnimationMixer.prototype = Object.assign( Object.create( EventDispatcher.prototy
 
 		for ( var i = 0; i !== nBindings; ++ i ) {
 
+			bindings[ i ].restoreOriginalState();
 			bindings[ i ].useCount = 0;
 
 		}