]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/TransformationGUI/TransformationGUI_MirrorDlg.cxx
Salome HOME
INT PAL 0052666: Presentation disappears from the 3D Viewer after that as an operatio...
[modules/geom.git] / src / TransformationGUI / TransformationGUI_MirrorDlg.cxx
index ce56c62659759af72f4cdb2d555063f1cf2acaf4..133d181d65140ea56698322aab74bfa9d86e2305 100644 (file)
@@ -461,7 +461,10 @@ void TransformationGUI_MirrorDlg::addSubshapesToStudy()
 //=================================================================================
 QList<GEOM::GeomObjPtr> TransformationGUI_MirrorDlg::getSourceObjects()
 {
-  QList<GEOM::GeomObjPtr> res(myObjects);
-  res << myArgument;
+  QList<GEOM::GeomObjPtr> res;
+  if ( GroupPoints->CheckButton1->isChecked() ) {
+    res.append(myObjects);
+    res << myArgument;
+  }
   return res;
 }