Salome HOME
0022377: EDF 2752 GEOM: Add a preference in order to automatically unpublished parent...
[modules/geom.git] / src / RepairGUI / RepairGUI_FuseEdgesDlg.cxx
index 517186ce2b628eefb0b7f5c2668da026dada8329..ac1372811e1403a9d09a99955de34f124521d5d6 100644 (file)
@@ -346,3 +346,15 @@ void RepairGUI_FuseEdgesDlg::addSubshapesToStudy()
   for (int i = 0; i < myPoints.count(); i++)
     GEOMBase::PublishSubObject(myPoints[i].get());
 }
+
+//=================================================================================
+// function : getSourceObjects
+// purpose  : virtual method to get source objects
+//=================================================================================
+QList<GEOM::GeomObjPtr> RepairGUI_FuseEdgesDlg::getSourceObjects()
+{
+  QList<GEOM::GeomObjPtr> res(myPoints);
+  GEOM::GeomObjPtr aGeomObjPtr(myShape);
+  res << aGeomObjPtr;
+  return res;
+}