Commit f66688a6 authored by Ellen Dekkers's avatar Ellen Dekkers

Plugin-FilePolyMesh: do not append the new mesh object into the scenegraph tree

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7810 383ad7c9-94d9-4d36-a494-682f7c89f535
parent afab21fb
......@@ -213,10 +213,6 @@ int FilePolyMeshPlugin::loadPolyMeshObject(QString _filename){
object = new PolyMeshObject( dynamic_cast < ACG::SceneGraph::SeparatorNode* >( PluginFunctions::getRootNode() ) );
// Set pointers for tree structure
object->setParent(PluginFunctions::objectRoot());
PluginFunctions::objectRoot()->appendChild(object);
if (PluginFunctions::objectCount() == 1 )
object->target(true);
......
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