13
0

Fix restoration of Plugin Controllable state ID's

Caused by thinko when merging/replacing two conditional clauses in the
string-convert changes which resulted in bindings not being restored and
regeneration of id's in XML.
This commit is contained in:
Tim Mayberry 2017-04-21 11:40:03 +10:00
parent 44cec18516
commit 6ae047cdd2

View File

@ -2404,7 +2404,7 @@ PluginInsert::set_control_ids (const XMLNode& node, int version)
}
}
#endif
if (p == (uint32_t)-1 && (*iter)->get_property (X_("parameter"), p)) {
if (p != (uint32_t)-1 && (*iter)->get_property (X_("parameter"), p)) {
/* this may create the new controllable */