Explorar o código

Fix #19328

Make behavior of AnimationAction.stop() and AnimationMixer.stopAllActions() consistent.
Wouter Vanmontfort %!s(int64=5) %!d(string=hai) anos
pai
achega
a6a58d633c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
 
 		}