Skip to content

Commit

Permalink
More clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Jan 22, 2024
1 parent 323af45 commit a430e7f
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions M2Loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -917,12 +917,7 @@ class M2Loader extends Loader {

// ignore empty tracks

if ( times.length === 0 ) {

data.tracks[ j ] = [];
continue;

}
if ( times.length === 0 ) continue;

// values

Expand Down Expand Up @@ -981,12 +976,7 @@ class M2Loader extends Loader {

// ignore empty tracks

if ( times.length === 0 ) {

data.tracks[ j ] = [];
continue;

}
if ( times.length === 0 ) continue;

// values

Expand Down Expand Up @@ -1066,12 +1056,7 @@ class M2Loader extends Loader {

// ignore empty tracks

if ( times.length === 0 ) {

data.tracks[ j ] = [];
continue;

}
if ( times.length === 0 ) continue;

// interpolation type

Expand Down

0 comments on commit a430e7f

Please sign in to comment.