From f1c793f7e2148b10610a09a459d9e89b39d2d87b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 19 Mar 2017 13:26:38 +0100 Subject: Fix round-trip preservation of property contexts --- src/Parser.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/Parser.cpp') diff --git a/src/Parser.cpp b/src/Parser.cpp index c26553a9..c3d6eaaf 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -351,9 +351,8 @@ parse_graph(Ingen::World* world, { const URIs& uris = world->uris(); - const Sord::URI ingen_block(*world->rdf_world(), uris.ingen_block); - const Sord::URI ingen_polyphony(*world->rdf_world(), uris.ingen_polyphony); - const Sord::URI lv2_port(*world->rdf_world(), LV2_CORE__port); + const Sord::URI ingen_block(*world->rdf_world(), uris.ingen_block); + const Sord::URI lv2_port(*world->rdf_world(), LV2_CORE__port); const Sord::Node& graph = subject_node; const Sord::Node nil; @@ -542,11 +541,11 @@ parse_properties(Ingen::World* world, { Properties properties = get_properties(world, model, subject, ctx); - target->put(uri, properties); + target->put(uri, properties, ctx); // Set passed properties last to override any loaded values if (data) - target->put(uri, data.get()); + target->put(uri, data.get(), ctx); return true; } -- cgit v1.2.1