diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2008-04-11 15:49:52 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2008-04-11 15:49:52 +0000 |
commit | aae8262a363b3d7b85b5baa3b2d0ffb07e604b73 (patch) | |
tree | f482717d2f895f3d9fb3b3f7faa5a4648c3b58d0 /libs/ardour/smf_source.cc | |
parent | cb413146428ce5db5e281d70f2b3b7df27c1aaab (diff) |
* persistent undo for MIDI edits works now
* fixed bug: dragging of notes beyond left region bounds made it disappear (unsigned int wrap around)
git-svn-id: svn://localhost/ardour2/branches/3.0@3249 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/smf_source.cc')
-rw-r--r-- | libs/ardour/smf_source.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/smf_source.cc b/libs/ardour/smf_source.cc index bee3fd96d4..aef011ed00 100644 --- a/libs/ardour/smf_source.cc +++ b/libs/ardour/smf_source.cc @@ -872,7 +872,7 @@ SMFSource::load_model(bool lock, bool force_reload) } if (! _model) { - _model = boost::shared_ptr<MidiModel>(new MidiModel(*this)); + _model = boost::shared_ptr<MidiModel>(new MidiModel(this)); cerr << _name << " loaded new model " << _model.get() << endl; } else { cerr << _name << " reloading model " << _model.get() |