mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
do not set automation to off/manual for MIDI CC data when clearing such data
This commit is contained in:
parent
8402537493
commit
b98969be94
1 changed files with 3 additions and 1 deletions
|
|
@ -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 ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue