[splittiming] No more holds/rolls on Song Timing.
This commit is contained in:
+12
-9
@@ -2584,17 +2584,20 @@ void ScreenEdit::ScrollTo( float fDestinationBeat )
|
|||||||
if( !EditIsBeingPressed(b) )
|
if( !EditIsBeingPressed(b) )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// create a new hold note
|
if( GAMESTATE->m_bIsEditorStepTiming )
|
||||||
int iStartRow = BeatToNoteRow( min(fOriginalBeat, fDestinationBeat) );
|
{
|
||||||
int iEndRow = BeatToNoteRow( max(fOriginalBeat, fDestinationBeat) );
|
// create a new hold note
|
||||||
|
int iStartRow = BeatToNoteRow( min(fOriginalBeat, fDestinationBeat) );
|
||||||
|
int iEndRow = BeatToNoteRow( max(fOriginalBeat, fDestinationBeat) );
|
||||||
|
|
||||||
// Don't SaveUndo. We want to undo the whole hold, not just the last segment
|
// Don't SaveUndo. We want to undo the whole hold, not just the last segment
|
||||||
// that the user made. Dragging the hold bigger can only absorb and remove
|
// that the user made. Dragging the hold bigger can only absorb and remove
|
||||||
// other taps, so dragging won't cause us to exceed the note limit.
|
// other taps, so dragging won't cause us to exceed the note limit.
|
||||||
TapNote tn = EditIsBeingPressed(EDIT_BUTTON_LAY_ROLL) ? TAP_ORIGINAL_ROLL_HEAD : TAP_ORIGINAL_HOLD_HEAD;
|
TapNote tn = EditIsBeingPressed(EDIT_BUTTON_LAY_ROLL) ? TAP_ORIGINAL_ROLL_HEAD : TAP_ORIGINAL_HOLD_HEAD;
|
||||||
|
|
||||||
tn.pn = m_InputPlayerNumber;
|
tn.pn = m_InputPlayerNumber;
|
||||||
m_NoteDataEdit.AddHoldNote( iCol, iStartRow, iEndRow, tn );
|
m_NoteDataEdit.AddHoldNote( iCol, iStartRow, iEndRow, tn );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( EditIsBeingPressed(EDIT_BUTTON_SCROLL_SELECT) )
|
if( EditIsBeingPressed(EDIT_BUTTON_SCROLL_SELECT) )
|
||||||
|
|||||||
Reference in New Issue
Block a user