session: fix for creation of new/default tempo map
This commit is contained in:
parent
722a159ac1
commit
f3fe31da27
@ -343,8 +343,8 @@ Session::Session (AudioEngine &eng,
|
|||||||
|
|
||||||
TempoMap::SharedPtr tmcopy (TempoMap::write_copy());
|
TempoMap::SharedPtr tmcopy (TempoMap::write_copy());
|
||||||
/* this discards the copy that was made, and installs the new default tempo map */
|
/* this discards the copy that was made, and installs the new default tempo map */
|
||||||
tmcopy = new TempoMap();
|
tmcopy.reset (new TempoMap (Tempo (120, 4), Meter (4, 4)));
|
||||||
TempoMap::update (new_tempo_map);
|
TempoMap::update (tmcopy);
|
||||||
|
|
||||||
created_with = string_compose ("%1 %2", PROGRAM_NAME, revision);
|
created_with = string_compose ("%1 %2", PROGRAM_NAME, revision);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user