projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd134d8
)
Preserve source's model on clone() if it is not rebuilt. Should fix #3155.
author
Carl Hetherington
<carl@carlh.net>
Mon, 24 May 2010 21:45:50 +0000
(21:45 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Mon, 24 May 2010 21:45:50 +0000
(21:45 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7149
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/midi_source.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/midi_source.cc
b/libs/ardour/midi_source.cc
index 0c66879330a3526302cfe77781297ec520c48ad2..54b287cbdf1b9b6be031e59dbbe5ec4f77da85df 100644
(file)
--- a/
libs/ardour/midi_source.cc
+++ b/
libs/ardour/midi_source.cc
@@
-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;
}