13
0

Fix parameter descriptors for one control leaking into another.

This commit is contained in:
David Robillard 2014-11-03 18:40:17 -05:00
parent 6e16f69c26
commit ef16fdcd89

View File

@ -240,13 +240,12 @@ PluginInsert::create_automatable_parameters ()
set<Evoral::Parameter> a = _plugins.front()->automatable ();
ParameterDescriptor desc;
for (set<Evoral::Parameter>::iterator i = a.begin(); i != a.end(); ++i) {
if (i->type() == PluginAutomation) {
Evoral::Parameter param(*i);
ParameterDescriptor desc;
_plugins.front()->get_parameter_descriptor(i->id(), desc);
/* the Parameter belonging to the actual plugin doesn't have its range set