diff options
author | David Robillard <d@drobilla.net> | 2017-03-19 13:26:38 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-03-20 02:58:56 +0100 |
commit | f1c793f7e2148b10610a09a459d9e89b39d2d87b (patch) | |
tree | b898407dce08af0f2f978d59a85d4887d8555b54 /src/Parser.cpp | |
parent | efc0fe0a973db706d9409b345ad6fae585f4388c (diff) | |
download | ingen-f1c793f7e2148b10610a09a459d9e89b39d2d87b.tar.gz ingen-f1c793f7e2148b10610a09a459d9e89b39d2d87b.tar.bz2 ingen-f1c793f7e2148b10610a09a459d9e89b39d2d87b.zip |
Fix round-trip preservation of property contexts
Diffstat (limited to 'src/Parser.cpp')
-rw-r--r-- | src/Parser.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
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; } |