13
0

put automation list into or out of Touch mode before adding an automation watch, so that ::touching() is correct when called from the add

git-svn-id: svn://localhost/ardour2/branches/3.0@13489 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-11-14 02:45:30 +00:00
parent 6055190094
commit be4c868734

View File

@ -120,14 +120,14 @@ void
AutomationControl::start_touch(double when)
{
set_touching (true);
AutomationWatch::instance().add_automation_watch (shared_from_this());
alist()->start_touch(when);
AutomationWatch::instance().add_automation_watch (shared_from_this());
}
void
AutomationControl::stop_touch(bool mark, double when)
{
set_touching (false);
AutomationWatch::instance().remove_automation_watch (shared_from_this());
alist()->stop_touch (mark, when);
AutomationWatch::instance().remove_automation_watch (shared_from_this());
}