提交 3bfc0b1d 编写于 作者: B Ben Houston

remvoe debug comments, and a forgotten reset of propertyBindingNamesToIndex.

上级 5b30934e
......@@ -51,11 +51,7 @@ THREE.AnimationAction.prototype = {
var duration = this.clip.duration;
this.actionTime = this.actionTime + clipDeltaTime * this.timeScale;
console.log( 'actionTime1', this.actionTime );
console.log( 'clipDeltaTime', clipDeltaTime );
console.log( 'this.timeScale', this.timeScale );
console.log( 'duration', duration );
if( this.loop === THREE.LoopOnce ) {
this.loopCount = 0;
......@@ -99,9 +95,7 @@ THREE.AnimationAction.prototype = {
this.clipTime = newClipTime;
console.log( 'actionTime', this.actionTime, 'loopCount', this.loopCount, 'clipTime', this.clipTime );
if( this.loopCount !== previousLoopCount ) {
if( this.loopCount !== previousLoopCount ) {
this.mixer.dispatchEvent( { type: 'loop', action: this, loopDelta: ( this.loopCount - this.loopCount ) } );
......
......@@ -113,6 +113,7 @@ THREE.AnimationMixer.prototype = {
this.actions = [];
this.propertyBindings = [];
this.propertyBindingNamesToIndex = {};
return this;
......@@ -151,6 +152,7 @@ THREE.AnimationMixer.prototype = {
}
}
this.propertyBindingIndicesDirty = true;
return this;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册