tempo map: fix loading 6000-version or earlier tempo maps
Probably a copy-n-paste error meant the reversed logic was used to decide if we had found an inital tempo and meter
This commit is contained in:
parent
2bf8b7ce11
commit
3553d56f05
@ -3488,7 +3488,7 @@ TempoMap::set_state_3x (const XMLNode& node)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (initial_tempo_index >= 0 && initial_meter_index >= 0) {
|
if (initial_tempo_index < 0 || initial_meter_index < 0) {
|
||||||
error << _("Old tempo map information is missing either tempo or meter information - ignored") << endmsg;
|
error << _("Old tempo map information is missing either tempo or meter information - ignored") << endmsg;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user