diff --git a/examples/js/loaders/sea3d/SEA3DLoader.js b/examples/js/loaders/sea3d/SEA3DLoader.js index b1ef294aaa2f209190818087b7321d517030b1a7..88daa635f2b36d02d41797fe29dfba05a96db912 100644 --- a/examples/js/loaders/sea3d/SEA3DLoader.js +++ b/examples/js/loaders/sea3d/SEA3DLoader.js @@ -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 ) { @@ -1108,7 +1108,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 ); }