5.5 incorrectly marked the initial tempo as not locked to meter.

- the initial tempo must always be locked to meter,
	  so i think it is safe to explicitly set it anyway.
This commit is contained in:
nick_m 2017-02-08 09:58:15 +11:00
parent d806c973d6
commit 2d47705998

View File

@ -185,6 +185,11 @@ TempoSection::TempoSection (const XMLNode& node, framecnt_t sample_rate)
} else {
set_locked_to_meter (string_is_affirmative (prop->value()));
}
/* 5.5 marked initial tempo as not locked to meter. this should always be true anyway */
if (initial()) {
set_locked_to_meter (true);
}
}
XMLNode&