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.
2 parents d29ae17 + 64c0783 commit c36044aCopy full SHA for c36044a
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
@@ -1108,7 +1108,7 @@ THREE.SEA3D.AnimationHandler = {
1108
1109
var index = this.animators.indexOf( animator );
1110
1111
- if ( index !== - 1 ) this.animators.splice( this.animators.indexOf( animator ), 1 );
+ if ( index !== - 1 ) this.animators.splice( index, 1 );
1112
1113
}
1114
0 commit comments