Avoid SIGFPE at wide zoom setting with looped regions.
This commit is contained in:
parent
dbc73860ca
commit
3330619e9a
|
@ -514,6 +514,9 @@ Audio_Region::draw ( void )
|
|||
|
||||
int loop_peaks_needed = _loop ? timeline->ts_to_x( _loop ) : timeline->ts_to_x( _clip->length() );
|
||||
|
||||
if ( ! loop_peaks_needed )
|
||||
break;
|
||||
|
||||
if ( ! xo ) /* first loop... */
|
||||
{
|
||||
if ( _loop )
|
||||
|
|
Loading…
Reference in New Issue