do not set automation to off/manual for MIDI CC data when clearing such data
This commit is contained in:
parent
8402537493
commit
b98969be94
@ -480,7 +480,9 @@ AutomationTimeAxisView::clear_clicked ()
|
|||||||
} else if (_view) {
|
} else if (_view) {
|
||||||
_view->clear ();
|
_view->clear ();
|
||||||
}
|
}
|
||||||
|
if (!EventTypeMap::instance().type_is_midi (_control->parameter().type())) {
|
||||||
set_automation_state ((AutoState) ARDOUR::Off);
|
set_automation_state ((AutoState) ARDOUR::Off);
|
||||||
|
}
|
||||||
_editor.commit_reversible_command ();
|
_editor.commit_reversible_command ();
|
||||||
_session->set_dirty ();
|
_session->set_dirty ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user