Browse Source

Initialize properties in the right order.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
ef254cfbae
2 changed files with 4 additions and 3 deletions
  1. +2
    -1
      Timeline/Tempo_Point.C
  2. +2
    -2
      Timeline/Time_Point.C

+ 2
- 1
Timeline/Tempo_Point.C View File

@@ -68,13 +68,14 @@ Tempo_Point::Tempo_Point ( )
Tempo_Point::Tempo_Point ( nframes_t when, float bpm )
{
_tempo = bpm;
_r->start = when;

_make_label();

timeline->tempo_track->add( this );
timeline->update_tempomap();

start( when );

log_create();
}



+ 2
- 2
Timeline/Time_Point.C View File

@@ -68,13 +68,13 @@ Time_Point::Time_Point ( ) : _time( 4, 4 )

Time_Point::Time_Point ( nframes_t when, int bpb, int note ) : _time( bpb, note )
{
start( when );

_make_label();

timeline->time_track->add( this );
timeline->update_tempomap();

start( when );

log_create();
}



Loading…
Cancel
Save