projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8402537
)
do not set automation to off/manual for MIDI CC data when clearing such data
author
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 12 Aug 2017 18:39:50 +0000
(14:39 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 12 Aug 2017 18:40:21 +0000
(14:40 -0400)
gtk2_ardour/automation_time_axis.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/automation_time_axis.cc
b/gtk2_ardour/automation_time_axis.cc
index 74f4470839be6b6db8643b83ea80d52de837b109..4e370b8b940f4aad5bf5b17426981084658b99ce 100644
(file)
--- 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 ();
}