summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/ThreadedLoader.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-18 19:02:13 +0000
committerDavid Robillard <d@drobilla.net>2008-08-18 19:02:13 +0000
commitf31f6e53c139e194d0d0b4f24b7988c5c3652727 (patch)
treea0f2dbf18bc727a050149548ff24af29d5f7c132 /src/libs/gui/ThreadedLoader.cpp
parent76466bde179e9b0d58b1586fb3f4ed40dedbdc13 (diff)
downloadingen-f31f6e53c139e194d0d0b4f24b7988c5c3652727.tar.gz
ingen-f31f6e53c139e194d0d0b4f24b7988c5c3652727.tar.bz2
ingen-f31f6e53c139e194d0d0b4f24b7988c5c3652727.zip
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
Diffstat (limited to 'src/libs/gui/ThreadedLoader.cpp')
-rw-r--r--src/libs/gui/ThreadedLoader.cpp5
1 files changed, 1 insertions, 4 deletions
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(),