diff options
author | Robin Gareus <robin@gareus.org> | 2017-04-21 05:36:52 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-04-21 05:36:52 +0200 |
commit | 10c489153262467c9435c48b141196b5a74dfa97 (patch) | |
tree | 5711953f60191f8a0c4f9ee76bb86afb842eb960 /libs/ardour | |
parent | 048af97b54e7fab4da308bda7755481a0a9064aa (diff) |
Fix thinko in 6ae047cdd and 8f488515 (prefer LV2 symbol over ID)
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/plugin_insert.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index 1276f231e9..cad4890494 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -2404,7 +2404,11 @@ 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); + } + + if (p != (uint32_t)-1) { /* this may create the new controllable */ |