Salome HOME
0022377: EDF 2752 GEOM: Add a preference in order to automatically unpublished parent...
[modules/geom.git] / src / GenerationGUI / GenerationGUI_PipePathDlg.cxx
index 0259988530524e8fcbd79dd1929907c78edc80ed..a7889f101cd89240db19b9a22ef310eb311e9a47 100644 (file)
@@ -391,3 +391,16 @@ void GenerationGUI_PipePathDlg::addSubshapesToStudy()
   for (i = 0; i < myBase2Objects.count(); i++)
     GEOMBase::PublishSubObject(myBase2Objects[i].get());
 }
+
+//=================================================================================
+// function : getSourceObjects
+// purpose  : virtual method to get source objects
+//=================================================================================
+QList<GEOM::GeomObjPtr> GenerationGUI_PipePathDlg::getSourceObjects()
+{
+  QList<GEOM::GeomObjPtr> res(myBase1Objects);
+  res << myShape ;
+  for (int i = 0; i < myBase2Objects.count(); i++)
+    res << myBase2Objects[i];
+  return res;
+}