Hide hidden Controls in GUI
This commit is contained in:
parent
28f15d3fa6
commit
a44fecb740
@ -359,6 +359,10 @@ GenericPluginUI::build ()
|
||||
= boost::dynamic_pointer_cast<ARDOUR::AutomationControl>(
|
||||
insert->control(param));
|
||||
|
||||
if (c->flags () & Controllable::HiddenControl) {
|
||||
continue;
|
||||
}
|
||||
|
||||
ParameterDescriptor desc;
|
||||
plugin->get_parameter_descriptor(i, desc);
|
||||
if ((cui = build_control_ui (param, desc, c, value, plugin->parameter_is_input(i), hint.knob)) == 0) {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user