浏览代码

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;
 
 		}