Commit 1e328946 authored by Jan Möbius's avatar Jan Möbius

Remove debug output



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7815 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 159a6ddf
......@@ -116,19 +116,16 @@ BaseObject::BaseObject(BaseObject* _parent) :
// If the pointer is 0 then something went wrong
if ( _parent ) {
std::cerr << "Appending child to parent" << std::endl;
_parent->appendChild(this);
} else {
std::cerr << "_parent == 0 when creating a BaseObject with name " << std::endl;
} else {
if ( PluginFunctions::objectRoot() ) {
std::cerr << "Parent is 0 , objectroot not, adding to objectRoot!" << std::endl;
setParent(PluginFunctions::objectRoot());
PluginFunctions::objectRoot()->appendChild(this);
}
}
objectManager_.objectCreated(id());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment