diff options
author | Robin Gareus <robin@gareus.org> | 2016-06-05 19:04:33 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-06-05 19:05:05 +0200 |
commit | 86607097d618f778ea984cba2a7dc9c403fe8966 (patch) | |
tree | 237e686b2db1d1317b1a081979987c0191117054 /libs/ardour/automation_control.cc | |
parent | 03d2939f279c12ebf18d2cb95270ba2fb6dba9f0 (diff) |
plugin support for Controllable::NotAutomatable
Diffstat (limited to 'libs/ardour/automation_control.cc')
-rw-r--r-- | libs/ardour/automation_control.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc index d8dd582505..7dc39114a2 100644 --- a/libs/ardour/automation_control.cc +++ b/libs/ardour/automation_control.cc @@ -140,6 +140,9 @@ AutomationControl::set_list (boost::shared_ptr<Evoral::ControlList> list) void AutomationControl::set_automation_state (AutoState as) { + if (flags() & NotAutomatable) { + return; + } if (_list && as != alist()->automation_state()) { alist()->set_automation_state (as); |