diff options
author | David Robillard <d@drobilla.net> | 2009-05-28 22:33:28 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-28 22:33:28 +0000 |
commit | 57d6ee306407afc25f3d643b295dd85d8c77054f (patch) | |
tree | 8de9d19c38aa87032ce388c4f797cb526c2b8c3f | |
parent | a253083b17856adf509c6f0d3a5eb2888ff73cc3 (diff) | |
download | ingen-57d6ee306407afc25f3d643b295dd85d8c77054f.tar.gz ingen-57d6ee306407afc25f3d643b295dd85d8c77054f.tar.bz2 ingen-57d6ee306407afc25f3d643b295dd85d8c77054f.zip |
Ignore properties with blank values.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2041 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/serialisation/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp index 4c1ac74e..07c077e0 100644 --- a/src/serialisation/Parser.cpp +++ b/src/serialisation/Parser.cpp @@ -706,7 +706,7 @@ Parser::parse_properties( Glib::Mutex::Lock lock(world->rdf_world->mutex()); const string key = world->rdf_world->qualify(string((*i)["key"])); const Redland::Node& val = (*i)["val"]; - if (key != "") + if (key != "" && val.type() != Redland::Node::BLANK) properties.insert(make_pair(key, AtomRDF::node_to_atom(val))); } |