mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
rework dbf28e3 (hidden parameters)
This commit is contained in:
parent
ebbe96aa08
commit
be69dd279b
1 changed files with 2 additions and 4 deletions
|
|
@ -2334,6 +2334,7 @@ RouteTimeAxisView::add_processor_to_subplugin_menu (boost::weak_ptr<Processor> p
|
|||
|
||||
if (x == processor_automation.end()) {
|
||||
rai = new ProcessorAutomationInfo (processor);
|
||||
processor_automation.push_back (rai);
|
||||
} else {
|
||||
rai = *x;
|
||||
}
|
||||
|
|
@ -2388,10 +2389,7 @@ RouteTimeAxisView::add_processor_to_subplugin_menu (boost::weak_ptr<Processor> p
|
|||
mitem->signal_toggled().connect (sigc::bind (sigc::mem_fun(*this, &RouteTimeAxisView::processor_menu_item_toggled), rai, pan));
|
||||
}
|
||||
|
||||
if (items.size() > 0) {
|
||||
processor_automation.push_back (rai);
|
||||
} else {
|
||||
delete rai;
|
||||
if (items.size() == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue