Hide hidden Controls in GUI
This commit is contained in:
@@ -359,6 +359,10 @@ GenericPluginUI::build ()
|
|||||||
= boost::dynamic_pointer_cast<ARDOUR::AutomationControl>(
|
= boost::dynamic_pointer_cast<ARDOUR::AutomationControl>(
|
||||||
insert->control(param));
|
insert->control(param));
|
||||||
|
|
||||||
|
if (c->flags () & Controllable::HiddenControl) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
ParameterDescriptor desc;
|
ParameterDescriptor desc;
|
||||||
plugin->get_parameter_descriptor(i, desc);
|
plugin->get_parameter_descriptor(i, desc);
|
||||||
if ((cui = build_control_ui (param, desc, c, value, plugin->parameter_is_input(i), hint.knob)) == 0) {
|
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);
|
Evoral::Parameter param (*i);
|
||||||
boost::shared_ptr<AutomationLine> al;
|
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) {
|
if ((al = find_processor_automation_curve (processor, param)) != 0) {
|
||||||
al->queue_reset ();
|
al->queue_reset ();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user