瀏覽代碼

Merge pull request #10707 from samskivert/anim-mixer-actions-fix

Fix typo in _removeInactiveAction.
Mr.doob 8 年之前
父節點
當前提交
25e7e6153f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/animation/AnimationMixer.js

+ 1 - 1
src/animation/AnimationMixer.js

@@ -284,7 +284,7 @@ Object.assign( AnimationMixer.prototype, EventDispatcher.prototype, {
 
 
 		var actionByRoot = actionsForClip.actionByRoot,
-			rootUuid = ( actions._localRoot || this._root ).uuid;
+			rootUuid = ( action._localRoot || this._root ).uuid;
 
 		delete actionByRoot[ rootUuid ];