diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2017-04-21 11:40:03 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2017-04-21 12:46:04 +1000 |
commit | 6ae047cdd20be3b9b3ddbb035413e87caa21a3e2 (patch) | |
tree | 0d731056a2a4d33e47f242ce665dc0d33b83b928 /libs/ardour | |
parent | 44cec185162661586169126d5f482bc7a89fb3a5 (diff) |
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.
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/plugin_insert.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index 39371423f9..1276f231e9 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -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 */ |