Browse Source

Don't make an assertion when drawing empty regions.

tags/non-daw-v1.1.0
Jonathan Moore Liles 16 years ago
parent
commit
4e1ece8954
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      Timeline/Audio_Region.C

+ 1
- 3
Timeline/Audio_Region.C View File

@@ -584,10 +584,8 @@ Audio_Region::draw ( void )
// DMESSAGE( "using cached peaks" );
}

if ( peaks )
if ( peaks && pbuf )
{
assert( pbuf );

int ch = (h() - Fl::box_dh( box() )) / channels;




Loading…
Cancel
Save