summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-28 01:17:21 +0000
committerDavid Robillard <d@drobilla.net>2008-11-28 01:17:21 +0000
commit6bf8ac34199f1c3e8d57a43bf1ed7025ce0cc3f9 (patch)
treebc30d889e1da3fdd44a3b4027ed09b9920eaa048 /src
parent66f214e9dae0e808ba48165f31ffecd92239f291 (diff)
downloadingen-6bf8ac34199f1c3e8d57a43bf1ed7025ce0cc3f9.tar.gz
ingen-6bf8ac34199f1c3e8d57a43bf1ed7025ce0cc3f9.tar.bz2
ingen-6bf8ac34199f1c3e8d57a43bf1ed7025ce0cc3f9.zip
Fix pasting connections.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1811 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/serialisation/Parser.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/serialisation/Parser.cpp b/src/serialisation/Parser.cpp
index e11de4e5..02644d58 100644
--- a/src/serialisation/Parser.cpp
+++ b/src/serialisation/Parser.cpp
@@ -123,11 +123,10 @@ Parser::parse_string(
// cout << "Parsing all objects found in string (base " << base_uri << ")" << endl;
bool ret = parse(world, target, model, base_uri, engine_base, object_uri, symbol, data);
- if (ret) {
- const Glib::ustring subject = Glib::ustring("<") + base_uri + Glib::ustring(">");
- parse_connections(world, target, model, base_uri, subject,
- Path((engine_base == "") ? "/" : engine_base));
- }
+ const Glib::ustring subject = Glib::ustring("<") + base_uri + Glib::ustring(">");
+ //const Glib::ustring subject("<>");
+ parse_connections(world, target, model, base_uri, subject,
+ Path((engine_base == "") ? "/" : engine_base));
return ret;
}
@@ -273,7 +272,7 @@ Parser::parse(
|| (rdf_class == node_class)
|| (rdf_class == in_port_class)
|| (rdf_class == out_port_class);
-
+
if (is_object) {
Raul::Path path(path_str == "" ? "/" : path_str);