mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-13 18:16:35 +01:00
Midi pencil undo (not yet serializable).
Formatting fixes for session.h (ie kill more of those damned 8 space expanded tabs). git-svn-id: svn://localhost/ardour2/trunk@2135 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
37c74810d2
commit
f542fa693c
7 changed files with 210 additions and 54 deletions
|
|
@ -44,7 +44,7 @@ sigc::signal<void,MidiSource *> MidiSource::MidiSourceCreated;
|
|||
|
||||
MidiSource::MidiSource (Session& s, string name)
|
||||
: Source (s, name, DataType::MIDI)
|
||||
, _model(new MidiModel())
|
||||
, _model(new MidiModel(s))
|
||||
, _model_loaded (false)
|
||||
{
|
||||
_read_data_count = 0;
|
||||
|
|
@ -53,7 +53,7 @@ MidiSource::MidiSource (Session& s, string name)
|
|||
|
||||
MidiSource::MidiSource (Session& s, const XMLNode& node)
|
||||
: Source (s, node)
|
||||
, _model(new MidiModel())
|
||||
, _model(new MidiModel(s))
|
||||
, _model_loaded (false)
|
||||
{
|
||||
_read_data_count = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue