Unconditionally switch Manual->Play when drawing automation
This commit is contained in:
parent
33c596e149
commit
f31e8ede4c
@ -207,10 +207,8 @@ AutomationRegionView::add_automation_event (GdkEvent *, samplepos_t when, double
|
||||
|
||||
if (_line->the_list()->editor_add (when_d, y, with_guard_points)) {
|
||||
|
||||
if (ac == view->session()->recently_touched_controllable ()) {
|
||||
if (ac->automation_state () == ARDOUR::Off) {
|
||||
ac->set_automation_state (ARDOUR::Touch);
|
||||
}
|
||||
if (ac->automation_state () == ARDOUR::Off) {
|
||||
ac->set_automation_state (ARDOUR::Play);
|
||||
}
|
||||
|
||||
view->editor().begin_reversible_command (_("add automation event"));
|
||||
|
@ -791,10 +791,8 @@ AutomationTimeAxisView::add_automation_event (GdkEvent* event, samplepos_t sampl
|
||||
|
||||
if (list->editor_add (when.sample, y, with_guard_points)) {
|
||||
|
||||
if (_control == _session->recently_touched_controllable ()) {
|
||||
if (_control->automation_state () == ARDOUR::Off) {
|
||||
_control->set_automation_state (ARDOUR::Touch);
|
||||
}
|
||||
if (_control->automation_state () == ARDOUR::Off) {
|
||||
_control->set_automation_state (ARDOUR::Play);
|
||||
}
|
||||
|
||||
XMLNode& after = list->get_state();
|
||||
|
Loading…
Reference in New Issue
Block a user