summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc5
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 {