Преглед на файлове

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;