copying a tempo map should not bail out just because there is only 1 tempo & meter

This commit is contained in:
Paul Davis 2024-12-18 16:45:59 -07:00
parent daa6808a30
commit 5f943295fc

View file

@ -907,7 +907,7 @@ TempoMap::copy ( timepos_t const & start, timepos_t const & end)
TempoMapCutBuffer*
TempoMap::cut_copy (timepos_t const & start, timepos_t const & end, bool copy, bool ripple)
{
if (n_tempos() == 1 && n_meters() == 1) {
if (!copy && (n_tempos() == 1 && n_meters() == 1)) {
return nullptr;
}