diff options
author | David Robillard <d@drobilla.net> | 2009-10-19 02:02:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-19 02:02:45 +0000 |
commit | 4defce238e4e568cd8586446ac4b1ab51e510254 (patch) | |
tree | 27f83534a81c9edc5e9d8a191edd8e6930b43780 /src/serialisation | |
parent | 7245510de8a82e85b68600b075064ae8ea84f2f5 (diff) | |
download | ingen-4defce238e4e568cd8586446ac4b1ab51e510254.tar.gz ingen-4defce238e4e568cd8586446ac4b1ab51e510254.tar.bz2 ingen-4defce238e4e568cd8586446ac4b1ab51e510254.zip |
Fix saving properties of root patch ports (fix ticket #389).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2194 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/serialisation')
-rw-r--r-- | src/serialisation/Serialiser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index 239ce22c..a2e92454 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -355,6 +355,8 @@ Serialiser::serialise_patch(SharedPtr<Shared::Patch> patch, const Redland::Node& _model->add_statement(patch_id, "lv2:port", port_id); serialise_port_meta(p, port_id); + if (root) + serialise_properties(port_id, p->properties()); } for (Shared::Patch::Connections::const_iterator c = patch->connections().begin(); |