diff options
author | Robin Gareus <robin@gareus.org> | 2016-06-28 00:17:46 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-06-28 00:17:46 +0200 |
commit | 22fd92f97c5ff2bb1890a3b88085bed5c035498e (patch) | |
tree | a97414f0e258df8b122794d46b3e904d9d297bf6 /libs/ardour/automation_control.cc | |
parent | ae80aba3a94f3c17aec17e49ac0bfbfca246063c (diff) |
tweak b7e645ec6, use session start/end position
Diffstat (limited to 'libs/ardour/automation_control.cc')
-rw-r--r-- | libs/ardour/automation_control.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc index e0ebc00062..0d5c2ecc2d 100644 --- a/libs/ardour/automation_control.cc +++ b/libs/ardour/automation_control.cc @@ -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()) { |