Fix broken Little transform
This commit is contained in:
@@ -999,9 +999,10 @@ void NoteDataUtil::Little(NoteData &in)
|
|||||||
|
|
||||||
// filter out all non-quarter notes
|
// filter out all non-quarter notes
|
||||||
int max_row = in.GetLastRow();
|
int max_row = in.GetLastRow();
|
||||||
for( i=0; i<=max_row; i+=ROWS_PER_BEAT )
|
for( i=0; i<=max_row; i+=1 )
|
||||||
for( int c=0; c<in.GetNumTracks(); c++ )
|
if( i % ROWS_PER_BEAT != 0 )
|
||||||
in.SetTapNote(c, i, TAP_EMPTY);
|
for( int c=0; c<in.GetNumTracks(); c++ )
|
||||||
|
in.SetTapNote(c, i, TAP_EMPTY);
|
||||||
|
|
||||||
for( i=in.GetNumHoldNotes()-1; i>=0; i-- )
|
for( i=in.GetNumHoldNotes()-1; i>=0; i-- )
|
||||||
if( fmodf(in.GetHoldNote(i).fStartBeat,1) != 0 ) // doesn't start on a beat
|
if( fmodf(in.GetHoldNote(i).fStartBeat,1) != 0 ) // doesn't start on a beat
|
||||||
|
|||||||
Reference in New Issue
Block a user