Fix mirror; only the pre-4s transform rows were being iterated over, which

broke holds.
This commit is contained in:
Glenn Maynard
2005-01-09 21:42:01 +00:00
parent a8b8341667
commit c26f402bba
+2 -1
View File
@@ -802,7 +802,7 @@ void NoteDataUtil::Turn( NoteData &inout, StepsType st, TrackMapping tt, float f
// transform notes
for( int t=0; t<inout.GetNumTracks(); t++ )
FOREACH_NONEMPTY_ROW_ALL_TRACKS_RANGE( inout, r, iStartIndex, iEndIndex )
FOREACH_NONEMPTY_ROW_ALL_TRACKS_RANGE( tempNoteData, r, iStartIndex, iEndIndex )
tempNoteDataOut.SetTapNote( t, r, tempNoteData.GetTapNote(iTakeFromTrack[t], r) );
if( tt == super_shuffle )
@@ -835,6 +835,7 @@ void NoteDataUtil::Backwards( NoteData &inout )
void NoteDataUtil::SwapSides( NoteData &inout )
{
inout.ConvertHoldNotesTo4s();
/* XXX: This is broken. */
for( int t=0; t<inout.GetNumTracks()/2; t++ )
{
FOREACH_NONEMPTY_ROW_IN_TRACK( inout, t, r )