mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
tweak b7e645ec6, use session start/end position
This commit is contained in:
parent
ae80aba3a9
commit
22fd92f97c
1 changed files with 2 additions and 1 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue