Explorar o código

fix bug, not calling AnimationAction.init.

Ben Houston %!s(int64=10) %!d(string=hai) anos
pai
achega
a1fb6c3134
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;