summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2016-08-25 19:20:17 +0200
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2016-08-25 19:23:49 +0200
commit2e7e2d2658eb992993425204f76ae508d9d26ded (patch)
treea4435e47a671eef9586f784936f73cba8384e224
parent3921e33c2a6c5ae5d745a8313ad9981b55a5aa5c (diff)
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.
-rw-r--r--gtk2_ardour/generic_pluginui.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/generic_pluginui.cc b/gtk2_ardour/generic_pluginui.cc
index 4e0492999a..a8dfb14181 100644
--- a/gtk2_ardour/generic_pluginui.cc
+++ b/gtk2_ardour/generic_pluginui.cc
@@ -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));
}
}