Pārlūkot izejas kodu

Fix #19328

Make behavior of AnimationAction.stop() and AnimationMixer.stopAllActions() consistent.
Wouter Vanmontfort 5 gadi atpakaļ
vecāks
revīzija
a6a58d633c
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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;
 
 		}