From 57d6ee306407afc25f3d643b295dd85d8c77054f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 28 May 2009 22:33:28 +0000 Subject: Ignore properties with blank values. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2041 a436a847-0d15-0410-975c-d299462d15a1 --- src/serialisation/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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))); } -- cgit v1.2.1