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/client/ClientStore.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/client/ClientStore.cpp') diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index eac853f7..a622068c 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -342,7 +342,8 @@ ClientStore::put(const Raul::URI& uri, void ClientStore::delta(const Raul::URI& uri, const Properties& remove, - const Properties& add) + const Properties& add, + Resource::Graph ctx) { if (uri == Raul::URI("ingen:/clients/this")) { // Client property, which we don't store (yet?) @@ -370,7 +371,8 @@ ClientStore::delta(const Raul::URI& uri, void ClientStore::set_property(const Raul::URI& subject_uri, const Raul::URI& predicate, - const Atom& value) + const Atom& value, + Resource::Graph ctx) { if (subject_uri == Raul::URI("ingen:/engine")) { _log.info(fmt("Engine property <%1%> = %2%\n") @@ -384,7 +386,7 @@ ClientStore::set_property(const Raul::URI& subject_uri, blinkenlights) but do not store the property. */ subject->on_property(predicate, value); } else { - subject->set_property(predicate, value); + subject->set_property(predicate, value, ctx); } } else { SPtr plugin = _plugin(subject_uri); -- cgit v1.2.1