From f31f6e53c139e194d0d0b4f24b7988c5c3652727 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 18 Aug 2008 19:02:13 +0000 Subject: Fix copy/paste between different patches. Barf less serialisation stuff to the console. git-svn-id: http://svn.drobilla.net/lad/ingen@1431 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/ThreadedLoader.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/libs/gui/ThreadedLoader.cpp') diff --git a/src/libs/gui/ThreadedLoader.cpp b/src/libs/gui/ThreadedLoader.cpp index 86c4ea1c..24edc69a 100644 --- a/src/libs/gui/ThreadedLoader.cpp +++ b/src/libs/gui/ThreadedLoader.cpp @@ -108,12 +108,9 @@ ThreadedLoader::load_patch(bool merge, engine_base = engine_parent.get().base(); } - cout << "ENGINE BASE 1: " << engine_base << endl; - if (merge && engine_parent.get() == "/" || !engine_parent) + if (merge && (engine_parent.get() == "/" || !engine_parent)) engine_base = engine_base.substr(0, engine_base.find_last_of("/")); - cout << "ENGINE BASE: " << engine_base << endl; - cout << "PARENT: " << (engine_parent ? (string)engine_parent.get() : "NONE") << endl; _events.push_back(sigc::hide_return(sigc::bind( sigc::mem_fun(_parser.get(), &Ingen::Serialisation::Parser::parse_document), App::instance().world(), -- cgit v1.2.1