diff options
author | Robin Gareus <robin@gareus.org> | 2020-03-18 18:09:20 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-03-18 18:16:32 +0100 |
commit | a44fecb740d3b3086e29ce0dd9f292bf21d12d02 (patch) | |
tree | e7a158b0408b30f18f44db3a96fde2519bd8a166 /gtk2_ardour/route_time_axis.cc | |
parent | 28f15d3fa63543a7a600e50a5663fe85c2230056 (diff) |
Hide hidden Controls in GUI
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 60b4978462..7ef0ebd4b5 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -2067,6 +2067,11 @@ RouteTimeAxisView::add_existing_processor_automation_curves (boost::weak_ptr<Pro Evoral::Parameter param (*i); boost::shared_ptr<AutomationLine> al; + boost::shared_ptr<AutomationControl> control = boost::dynamic_pointer_cast<AutomationControl>(processor->control(*i, false)); + if (!control || control->flags () & Controllable::HiddenControl) { + continue; + } + if ((al = find_processor_automation_curve (processor, param)) != 0) { al->queue_reset (); } else { |