Преглед изворни кода

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;