summaryrefslogtreecommitdiffstats
path: root/src/libs/serialisation
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-05-23 05:50:25 +0000
committerDavid Robillard <d@drobilla.net>2008-05-23 05:50:25 +0000
commit6a66c54eaa2a60b938b9b45287906c304cb99594 (patch)
tree8e5ba0dd4b65763c79dc95b2935e7b8cacdfe771 /src/libs/serialisation
parent2c46e6a464d2ac5be8e16a62fba6f00924090ea8 (diff)
downloadingen-6a66c54eaa2a60b938b9b45287906c304cb99594.tar.gz
ingen-6a66c54eaa2a60b938b9b45287906c304cb99594.tar.bz2
ingen-6a66c54eaa2a60b938b9b45287906c304cb99594.zip
Don't set default value metadata if plugin didn't specify a default value.
More readable/informative blank node names in patch files. git-svn-id: http://svn.drobilla.net/lad/ingen@1232 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/serialisation')
-rw-r--r--src/libs/serialisation/Serialiser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/serialisation/Serialiser.cpp b/src/libs/serialisation/Serialiser.cpp
index a6b48fb4..36c73d2f 100644
--- a/src/libs/serialisation/Serialiser.cpp
+++ b/src/libs/serialisation/Serialiser.cpp
@@ -170,7 +170,7 @@ Serialiser::path_to_node_id(const Path& path)
assert(i->second.get_node());
return i->second;
} else {
- Redland::Node id = _world.blank_id(path.name());
+ Redland::Node id = _world.blank_id(Path::nameify(path.substr(1)));
assert(id);
_node_map[path] = id;
return id;