소스 검색

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;