summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-12 00:41:00 +0000
committerDavid Robillard <d@drobilla.net>2006-06-12 00:41:00 +0000
commit190e2cf3c91f8bd5b1a6f69d00e84a108c743898 (patch)
tree2c7e2d52fd51cfbab6b18d523821bd456cbd6edd /src/libs/engine
parentf43bdc8241e1bfab0980199bcd995e214ff94720 (diff)
downloadingen-190e2cf3c91f8bd5b1a6f69d00e84a108c743898.tar.gz
ingen-190e2cf3c91f8bd5b1a6f69d00e84a108c743898.tar.bz2
ingen-190e2cf3c91f8bd5b1a6f69d00e84a108c743898.zip
Metadata working based on Store signals (node positions restored)
git-svn-id: http://svn.drobilla.net/lad/grauph@29 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/ObjectSender.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libs/engine/ObjectSender.cpp b/src/libs/engine/ObjectSender.cpp
index 3db6915d..9d3e535d 100644
--- a/src/libs/engine/ObjectSender.cpp
+++ b/src/libs/engine/ObjectSender.cpp
@@ -133,6 +133,11 @@ ObjectSender::send_node(ClientInterface* client, const Node* node)
}
client->bundle_end();
+
+ // Send metadata
+ const map<string, string>& data = node->metadata();
+ for (map<string, string>::const_iterator j = data.begin(); j != data.end(); ++j)
+ client->metadata_update(node->path(), (*j).first, (*j).second);
}