mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 20:56:28 +01:00
copying a tempo map should not bail out just because there is only 1 tempo & meter
This commit is contained in:
parent
daa6808a30
commit
5f943295fc
1 changed files with 1 additions and 1 deletions
|
|
@ -907,7 +907,7 @@ TempoMap::copy ( timepos_t const & start, timepos_t const & end)
|
||||||
TempoMapCutBuffer*
|
TempoMapCutBuffer*
|
||||||
TempoMap::cut_copy (timepos_t const & start, timepos_t const & end, bool copy, bool ripple)
|
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;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue