diff --git a/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp index 4e13744ef2b..8cb9f4853c0 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp @@ -1377,11 +1377,11 @@ bool Io_image_plugin::loadDCM(QString dirname) { // Create planes image_item = new Scene_image_item(image,125, true); + image_item->setName(fileinfo.baseName()); msgBox.setText("Planes created : 0/3"); msgBox.setStandardButtons(QMessageBox::NoButton); msgBox.show(); createPlanes(image_item); - image_item->setName(fileinfo.baseName()); scene->addItem(image_item); } else