projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb2186b
)
Fix deleting and re-saving LV2 presets.
author
David Robillard
<d@drobilla.net>
Fri, 22 May 2015 04:24:37 +0000
(
00:24
-0400)
committer
David Robillard
<d@drobilla.net>
Fri, 22 May 2015 04:24:37 +0000
(
00:24
-0400)
libs/ardour/lv2_plugin.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/lv2_plugin.cc
b/libs/ardour/lv2_plugin.cc
index d98f9a9eccf961438d5aa22e002efbe899f24edb..729e891138d73980e8d3595240add0f037a71909 100644
(file)
--- a/
libs/ardour/lv2_plugin.cc
+++ b/
libs/ardour/lv2_plugin.cc
@@
-1143,6
+1143,9
@@
LV2Plugin::do_remove_preset(string name)
return;
}
+ /* Unload preset from world. */
+ lilv_world_unload_resource(world, pset);
+
/* Delete it from the file system. This will remove the preset file and the entry
from the manifest. If this results in an empty manifest (i.e. the
preset is the only thing in the bundle), then the bundle is removed. */