From 6bf8ac34199f1c3e8d57a43bf1ed7025ce0cc3f9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 28 Nov 2008 01:17:21 +0000 Subject: Fix pasting connections. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1811 a436a847-0d15-0410-975c-d299462d15a1 --- src/serialisation/Parser.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src') 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); -- cgit v1.2.1