]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/RepairGUI/RepairGUI_ChangeOrientationDlg.cxx
Salome HOME
INT PAL 0052666: Presentation disappears from the 3D Viewer after that as an operatio...
[modules/geom.git] / src / RepairGUI / RepairGUI_ChangeOrientationDlg.cxx
index d077f8352c6727aee989d8d6defbcc1eb7c92837..8a038ec3c08616af7846c14dc4952d98d5449a42 100644 (file)
@@ -307,7 +307,9 @@ void RepairGUI_ChangeOrientationDlg::CreateCopyModeChanged( bool isCreateCopy )
 QList<GEOM::GeomObjPtr> RepairGUI_ChangeOrientationDlg::getSourceObjects()
 {
   QList<GEOM::GeomObjPtr> res;
-  GEOM::GeomObjPtr aGeomObjPtr(myObject);
-  res << aGeomObjPtr;
+  if ( GroupPoints->CheckButton1->isChecked() ) {
+    GEOM::GeomObjPtr aGeomObjPtr(myObject);
+    res << aGeomObjPtr;
+  }
   return res;
 }