From: Paul Davis Date: Sat, 12 Aug 2017 18:39:50 +0000 (-0400) Subject: do not set automation to off/manual for MIDI CC data when clearing such data X-Git-Tag: 5.11~22 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=b98969be947e09e95028bbae32563604e19b81d7;p=ardour.git do not set automation to off/manual for MIDI CC data when clearing such data --- diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index 74f4470839..4e370b8b94 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -480,7 +480,9 @@ AutomationTimeAxisView::clear_clicked () } else if (_view) { _view->clear (); } - set_automation_state ((AutoState) ARDOUR::Off); + if (!EventTypeMap::instance().type_is_midi (_control->parameter().type())) { + set_automation_state ((AutoState) ARDOUR::Off); + } _editor.commit_reversible_command (); _session->set_dirty (); }