Pin Dialog: hide send polarity invert

This commit is contained in:
Robin Gareus 2023-07-14 16:54:13 +02:00
parent 37c000c967
commit bedab69338
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 6 additions and 0 deletions

View File

@ -655,6 +655,12 @@ PluginPinWidget::add_port_to_table (std::shared_ptr<Port> p, uint32_t r, bool ca
*/
set<Evoral::Parameter> p = proc->what_can_be_automated ();
for (set<Evoral::Parameter>::iterator i = p.begin (); i != p.end (); ++i) {
/* Do not display send phase invert toggle here.
* (strictly we should only show BusSendLevel).
*/
if (i->type () == PhaseAutomation) {
continue;
}
Control* c = new Control (proc->automation_control (*i), _("Send"));
_controls.push_back (c);
++r; ++rv;