Skip to content

Commit c36044a

Browse files
committed
Merge branch 'master' into dev
2 parents d29ae17 + 64c0783 commit c36044a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/js/loaders/sea3d/SEA3DLoader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ THREE.SEA3D.Animator = function( clips, mixer ) {
472472

473473
THREE.SEA3D.Animator.prototype.update = function( dt ) {
474474

475-
this.mixer.update( dt );
475+
this.mixer.update( dt || 0 );
476476

477477
if ( this.currentAnimationAction.paused ) {
478478

@@ -1108,7 +1108,7 @@ THREE.SEA3D.AnimationHandler = {
11081108

11091109
var index = this.animators.indexOf( animator );
11101110

1111-
if ( index !== - 1 ) this.animators.splice( this.animators.indexOf( animator ), 1 );
1111+
if ( index !== - 1 ) this.animators.splice( index, 1 );
11121112

11131113
}
11141114

0 commit comments

Comments
 (0)