diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-09 22:23:23 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-09 22:23:23 +0000 |
commit | 78986385e17b82a6704c8792fb21a42cd86add9a (patch) | |
tree | 54bdca03098ff7e26b536b0640e3321b4b0a042e /gtk2_ardour/automation_streamview.cc | |
parent | 7c5f1b7a26df60417590340d4cfe367ed00e180a (diff) |
Fix save/load of MIDI automation state. Fixes #3354.
git-svn-id: svn://localhost/ardour2/branches/3.0@7578 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_streamview.cc')
-rw-r--r-- | gtk2_ardour/automation_streamview.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_streamview.cc b/gtk2_ardour/automation_streamview.cc index cdca5ec08f..27ee2ca086 100644 --- a/gtk2_ardour/automation_streamview.cc +++ b/gtk2_ardour/automation_streamview.cc @@ -151,9 +151,7 @@ AutomationStreamView::display_region(AutomationRegionView* region_view) void AutomationStreamView::set_automation_state (AutoState state) { - /* XXX: not sure if this is right, but for now the automation state is basically held by - the regions' AutomationLists. Each region is always set to have the same AutoState. - */ + /* Setting the automation state for this view sets the state of all regions' lists to the same thing */ if (region_views.empty()) { _pending_automation_state = state; |