Preserve source's model on clone() if it is not rebuilt. Should fix #3155.
git-svn-id: svn://localhost/ardour2/branches/3.0@7149 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
dd134d8afb
commit
32d2e2eaac
@ -266,7 +266,9 @@ MidiSource::clone (Evoral::MusicalTime begin, Evoral::MusicalTime end)
|
||||
|
||||
if (begin != Evoral::MinMusicalTime || end != Evoral::MaxMusicalTime) {
|
||||
newsrc->load_model (true, true);
|
||||
}
|
||||
} else {
|
||||
newsrc->set_model (_model);
|
||||
}
|
||||
|
||||
return newsrc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user