Fix astate setting for combo parameters when setting all astate

Don't try to be smart when chosing which parameters need their
automation updated but rather trust the list that was populated at
creation time when all relevant information had been gathered.
This commit is contained in:
Julien "_FrnchFrgg_" RIVAUD 2016-08-25 19:20:17 +02:00
parent 3921e33c2a
commit 2e7e2d2658

View File

@ -987,9 +987,7 @@ void
GenericPluginUI::set_all_automation (AutoState as)
{
for (vector<ControlUI*>::iterator i = input_controls_with_automation.begin(); i != input_controls_with_automation.end(); ++i) {
if ((*i)->controller || (*i)->button) {
set_automation_state (as, (*i));
}
set_automation_state (as, (*i));
}
}