projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5385e93
)
Fix crash on MIDI stretch.
author
David Robillard
<d@drobilla.net>
Thu, 30 Apr 2009 21:57:28 +0000
(21:57 +0000)
committer
David Robillard
<d@drobilla.net>
Thu, 30 Apr 2009 21:57:28 +0000
(21:57 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5022
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/midi_stretch.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/midi_stretch.cc
b/libs/ardour/midi_stretch.cc
index 6fd67d05d272cfdaf7083ca533fdf1b6d75199cd..ea5ab62d02517387e8c6a270b093fbc7675ac869 100644
(file)
--- a/
libs/ardour/midi_stretch.cc
+++ b/
libs/ardour/midi_stretch.cc
@@
-84,6
+84,7
@@
MidiStretch::run (boost::shared_ptr<Region> r)
boost::shared_ptr<MidiSource> new_src = boost::dynamic_pointer_cast<MidiSource>(nsrcs[0]);
assert(new_src);
+ new_src->load_model(true, true);
boost::shared_ptr<MidiModel> new_model = new_src->model();
new_model->start_write();