show existing automation lanes regardless if they were visible before.

Automation can be recorded with the automation time axis not being
visible.
This commit is contained in:
Robin Gareus 2016-06-04 18:52:57 +02:00
parent 3f336f2021
commit e627a9681a

View File

@ -2075,7 +2075,7 @@ RouteTimeAxisView::show_existing_automation (bool apply_to_selection)
for (list<ProcessorAutomationInfo*>::iterator i = processor_automation.begin(); i != processor_automation.end(); ++i) {
for (vector<ProcessorAutomationNode*>::iterator ii = (*i)->lines.begin(); ii != (*i)->lines.end(); ++ii) {
if ((*ii)->view != 0 && (*i)->processor->control((*ii)->what)->list()->size() > 0) {
if ((*i)->processor->control((*ii)->what)->list()->size() > 0) {
(*ii)->menu_item->set_active (true);
}
}