Переглянути джерело

Fix #19328

Make behavior of AnimationAction.stop() and AnimationMixer.stopAllActions() consistent.
Wouter Vanmontfort 5 роки тому
батько
коміт
a6a58d633c
1 змінених файлів з 1 додано та 0 видалено
  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;
 
 		}