Commit 0dd040c1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Use >= instead of == in loopA-B (thanks funman)

parent 66dbf82c
......@@ -309,17 +309,18 @@ void AdvControlsWidget::fromAtoB()
timeB = 0;
ABButton->setText( "AB" );
}
void AdvControlsWidget::record(){}
void AdvControlsWidget::AtoBLoop( float f_pos, int i_time, int i_length )
{
if( timeB )
{
if( i_time == (int)(timeB/1000000) )
if( i_time >= (int)(timeB/1000000) )
var_SetTime( THEMIM->getInput(), "time" , timeA );
}
}
/*****************************
* DA Control Widget !
*****************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment