From 3b26abedb5bc99eaa724f02aab6697d37acb039b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Aug 2012 07:23:32 +0000 Subject: Don't save the transient ingen:activity property in the model or on disk. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4711 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/ClientStore.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/client/ClientStore.cpp') diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 61044708..690bec15 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -362,7 +362,13 @@ ClientStore::set_property(const Raul::URI& subject_uri, } SharedPtr subject = _resource(subject_uri); if (subject) { - subject->set_property(predicate, value); + if (predicate == _uris.ingen_activity) { + /* Activity is transient, trigger any live actions (like GUI + blinkenlights) but do not store the property. */ + subject->on_property(predicate, value); + } else { + subject->set_property(predicate, value); + } } else { SharedPtr plugin = _plugin(subject_uri); if (plugin) -- cgit v1.2.1