mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 02:56:35 +01:00
* implemented persistent undo for MidiModel::DeltaCommand. Deserializing works, but weirdly has no effect when undo/redo is applied in the editor
git-svn-id: svn://localhost/ardour2/branches/3.0@3240 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f39606f985
commit
1a0044b35d
7 changed files with 149 additions and 11 deletions
|
|
@ -872,7 +872,7 @@ SMFSource::load_model(bool lock, bool force_reload)
|
|||
}
|
||||
|
||||
if (! _model) {
|
||||
_model = boost::shared_ptr<MidiModel>(new MidiModel(_session));
|
||||
_model = boost::shared_ptr<MidiModel>(new MidiModel(*this));
|
||||
cerr << _name << " loaded new model " << _model.get() << endl;
|
||||
} else {
|
||||
cerr << _name << " reloading model " << _model.get()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue