Fix crash on MIDI stretch.
git-svn-id: svn://localhost/ardour2/branches/3.0@5022 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user