summaryrefslogtreecommitdiffstats
path: root/src/serialisation
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-16 23:11:54 +0000
committerDavid Robillard <d@drobilla.net>2008-11-16 23:11:54 +0000
commit89ebed9d01c1851ca003f6e01d963b1940da9cf9 (patch)
treefe60a90dc8597898e1757b4a0ea3792a76d515c7 /src/serialisation
parent001eb2b49a2a0127bde1fea4db6c0f976b838584 (diff)
downloadingen-89ebed9d01c1851ca003f6e01d963b1940da9cf9.tar.gz
ingen-89ebed9d01c1851ca003f6e01d963b1940da9cf9.tar.bz2
ingen-89ebed9d01c1851ca003f6e01d963b1940da9cf9.zip
Remember patch save file location in client (fix ticket #239).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1741 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/serialisation')
-rw-r--r--src/serialisation/Parser.cpp7
-rw-r--r--src/serialisation/Serialiser.cpp2
2 files changed, 4 insertions, 5 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp
index 9d5007e4..2959e12a 100644
--- a/src/serialisation/Parser.cpp
+++ b/src/serialisation/Parser.cpp
@@ -250,10 +250,9 @@ Parser::parse(
// continue;
if (rdf_class == patch_class) {
- ret = parse_patch(world, target, model, base_uri, engine_base,
- path_str, data);
- if (ret)
- target->set_variable(path, "ingen:document", Atom(base_uri.c_str()));
+ ret = parse_patch(world, target, model, base_uri, engine_base, path_str, data);
+ //if (ret)
+ // target->set_variable(path, "ingen:document", Atom(base_uri.c_str()));
} else if (rdf_class == node_class) {
ret = parse_node(world, target, model,
base_uri, Glib::ustring("<") + subject.to_c_string() + ">", path, data);
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp
index fdadfc2f..0704247e 100644
--- a/src/serialisation/Serialiser.cpp
+++ b/src/serialisation/Serialiser.cpp
@@ -520,7 +520,7 @@ Serialiser::serialise_variables(Redland::Node subject, const GraphObject::Variab
cerr << "Warning: variable with no value: key '" << v->first << "'" << endl;
}
} else {
- cerr << "Warning: not serialising variable with invalid key '" << v->first << "'" << endl;
+ cerr << "Not serialising special variable '" << v->first << "'" << endl;
}
}
}