mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Hide hidden Controls in GUI
This commit is contained in:
parent
28f15d3fa6
commit
a44fecb740
2 changed files with 9 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue