Commit 80b7c932 authored by Jan Möbius's avatar Jan Möbius

Removed double parenting in copyObject

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2eb82d7f
......@@ -301,10 +301,6 @@ void Core::slotCopyObject( int _oldId , int& _newId ) {
// Integrate into object tree
copy->setParent( object->parent() );
if ( object->parent() )
std::cerr << "Unable to add copy to object list" << std::endl;
// return the new id
_newId = copy->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