Tempo ramps - add legacy session comment.
This commit is contained in:
parent
260db3ee9a
commit
975d4af486
@ -2849,7 +2849,7 @@ TempoMap::set_state (const XMLNode& node, int /*version*/)
|
|||||||
TempoSection* t;
|
TempoSection* t;
|
||||||
MeterSection* prev_m = 0;
|
MeterSection* prev_m = 0;
|
||||||
TempoSection* prev_t = 0;
|
TempoSection* prev_t = 0;
|
||||||
|
/* if one is < 0.0, they all are. this is a legacy session */
|
||||||
if ((m = dynamic_cast<MeterSection*>(*i)) != 0 && m->pulse() < 0.0) {
|
if ((m = dynamic_cast<MeterSection*>(*i)) != 0 && m->pulse() < 0.0) {
|
||||||
if (!m->movable()) {
|
if (!m->movable()) {
|
||||||
pair<double, BBT_Time> bbt = make_pair (0.0, BBT_Time (1, 1, 0));
|
pair<double, BBT_Time> bbt = make_pair (0.0, BBT_Time (1, 1, 0));
|
||||||
|
Loading…
Reference in New Issue
Block a user