From c36c54c1399e11f22fad0a53b449ce8e65c5964c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Wed, 7 Dec 2022 11:42:30 +0100 Subject: [PATCH] Fix "Planes for unnamed" --- Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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