13
0

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:
Carl Hetherington 2010-05-24 21:45:50 +00:00
parent dd134d8afb
commit 32d2e2eaac

View File

@ -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;
}