Browse Source

Don't die if render_tempomap() is called with an empty map.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
825bb4c3e7
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      Timeline/Timeline.C

+ 4
- 0
Timeline/Timeline.C View File

@@ -473,6 +473,10 @@ Timeline::render_tempomap( nframes_t start, nframes_t length, measure_line_callb

done:

if ( ! f )
/* no points? */
return pos;

pos.frame = f;
pos.tempo = bpm;
pos.beats_per_bar = sig.beats_per_bar;


Loading…
Cancel
Save