提交 64c0783e 编写于 作者: S sunag 提交者: Mr.doob

more a bit optimization and usability (#8969)

上级 c2a5c1f3
......@@ -472,7 +472,7 @@ THREE.SEA3D.Animator = function( clips, mixer ) {
THREE.SEA3D.Animator.prototype.update = function( dt ) {
this.mixer.update( dt );
this.mixer.update( dt || 0 );
if ( this.currentAnimationAction.paused ) {
......@@ -1104,7 +1104,7 @@ THREE.SEA3D.AnimationHandler = {
var index = this.animators.indexOf( animator );
if ( index !== - 1 ) this.animators.splice( this.animators.indexOf( animator ), 1 );
if ( index !== - 1 ) this.animators.splice( index, 1 );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册