tweak b7e645ec6
, use session start/end position
This commit is contained in:
parent
ae80aba3a9
commit
22fd92f97c
@ -155,7 +155,8 @@ AutomationControl::set_automation_state (AutoState as)
|
|||||||
AutomationWatch::instance().add_automation_watch (shared_from_this());
|
AutomationWatch::instance().add_automation_watch (shared_from_this());
|
||||||
} else if (as == Touch) {
|
} else if (as == Touch) {
|
||||||
if (alist()->empty()) {
|
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);
|
Changed (true, Controllable::NoGroup);
|
||||||
}
|
}
|
||||||
if (!touching()) {
|
if (!touching()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user