From 965a74ae42dae3ff42f1dcc7c53dddb2b5a31b09 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 26 Oct 2015 16:29:11 +0000 Subject: Use URIDs almost everywhere This fixes some issues where types are lost after saving and re-loading many times. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5788 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/events/CreateBlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/events/CreateBlock.cpp') diff --git a/src/server/events/CreateBlock.cpp b/src/server/events/CreateBlock.cpp index e213f765..7ba35d1a 100644 --- a/src/server/events/CreateBlock.cpp +++ b/src/server/events/CreateBlock.cpp @@ -111,7 +111,7 @@ CreateBlock::pre_process() _properties.erase(uris.ingen_prototype); _properties.erase(uris.lv2_prototype); _properties.insert(std::make_pair(uris.lv2_prototype, - uris.forge.alloc_uri(ancestor->plugin()->uri()))); + uris.forge.make_urid(ancestor->plugin()->uri()))); } else { // Prototype is a plugin PluginImpl* const plugin = _engine.block_factory()->plugin(prototype); -- cgit v1.2.1