We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2a5c1f commit 64c0783Copy full SHA for 64c0783
examples/js/loaders/sea3d/SEA3DLoader.js
@@ -472,7 +472,7 @@ THREE.SEA3D.Animator = function( clips, mixer ) {
472
473
THREE.SEA3D.Animator.prototype.update = function( dt ) {
474
475
- this.mixer.update( dt );
+ this.mixer.update( dt || 0 );
476
477
if ( this.currentAnimationAction.paused ) {
478
@@ -1104,7 +1104,7 @@ THREE.SEA3D.AnimationHandler = {
1104
1105
var index = this.animators.indexOf( animator );
1106
1107
- if ( index !== - 1 ) this.animators.splice( this.animators.indexOf( animator ), 1 );
+ if ( index !== - 1 ) this.animators.splice( index, 1 );
1108
1109
}
1110
0 commit comments