浏览代码

fix bug, not calling AnimationAction.init.

Ben Houston 10 年之前
父节点
当前提交
a1fb6c3134
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/animation/AnimationMixer.js

+ 1 - 0
src/animation/AnimationMixer.js

@@ -26,6 +26,7 @@ THREE.AnimationMixer.prototype = {
 		// TODO: check for duplicate action names?  Or provide each action with a UUID?
 
 		this.actions.push( action );
+		action.init( this.time );
 		action.mixer = this;
 
 		var tracks = action.clip.tracks;