mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Display recorded controller data (fix show all/existing automation).
git-svn-id: svn://localhost/ardour2/branches/3.0@3779 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
eec19ca7af
commit
e14187aadd
46 changed files with 460 additions and 375 deletions
|
|
@ -116,6 +116,12 @@ AutomationRegionView::add_automation_event (GdkEvent* event, nframes_t when, dou
|
|||
|
||||
_line->the_list()->add (when, y);
|
||||
|
||||
boost::shared_ptr<ARDOUR::MidiRegion> mr = boost::dynamic_pointer_cast<ARDOUR::MidiRegion>(_region);
|
||||
if (mr) {
|
||||
cout << "ADD TO LIST: " << _line->the_list().get() << " ON " << _region
|
||||
<< " (model " << mr->midi_source(0)->model() << ")" << endl;
|
||||
}
|
||||
|
||||
XMLNode& after = _line->the_list()->get_state();
|
||||
view->session().commit_reversible_command (new MementoCommand<ARDOUR::AutomationList>(
|
||||
*_line->the_list(), &before, &after));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue