projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
048af97
)
Fix thinko in 6ae047cdd and 8f488515 (prefer LV2 symbol over ID)
author
Robin Gareus
<robin@gareus.org>
Fri, 21 Apr 2017 03:36:52 +0000
(
05:36
+0200)
committer
Robin Gareus
<robin@gareus.org>
Fri, 21 Apr 2017 03:36:52 +0000
(
05:36
+0200)
libs/ardour/plugin_insert.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/plugin_insert.cc
b/libs/ardour/plugin_insert.cc
index 1276f231e96b59e1539ff8a8f5f123b9d0e1fd69..cad48904949c2c233317aa2af1218f7520dcb706 100644
(file)
--- 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 */