13
0

tweak b7e645ec6, use session start/end position

This commit is contained in:
Robin Gareus 2016-06-28 00:17:46 +02:00
parent ae80aba3a9
commit 22fd92f97c

View File

@ -155,7 +155,8 @@ AutomationControl::set_automation_state (AutoState as)
AutomationWatch::instance().add_automation_watch (shared_from_this());
} else if (as == Touch) {
if (alist()->empty()) {
Control::set_double (val, _session.transport_frame(), true);
Control::set_double (val, _session.current_start_frame (), true);
Control::set_double (val, _session.current_end_frame (), true);
Changed (true, Controllable::NoGroup);
}
if (!touching()) {