Allow setting Stops and Delays on the same row.
This commit is contained in:
+2
-2
@@ -81,10 +81,10 @@ void TimingData::SetStopAtRow( int iRow, float fSeconds, bool bDelay )
|
|||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
for( i=0; i<m_StopSegments.size(); i++ )
|
for( i=0; i<m_StopSegments.size(); i++ )
|
||||||
if( m_StopSegments[i].m_iStartRow == iRow )
|
if( m_StopSegments[i].m_iStartRow == iRow && m_StopSegments[i].m_bDelay == bDelay )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if( i == m_StopSegments.size() ) // there is no StopSegment at the current beat
|
if( i == m_StopSegments.size() ) // there is no Stop/Delay Segment at the current beat
|
||||||
{
|
{
|
||||||
// create a new StopSegment
|
// create a new StopSegment
|
||||||
if( fSeconds > 0 || PREFSMAN->m_bQuirksMode )
|
if( fSeconds > 0 || PREFSMAN->m_bQuirksMode )
|
||||||
|
|||||||
Reference in New Issue
Block a user