Salome HOME
0022377: EDF 2752 GEOM: Add a preference in order to automatically unpublished parent...
[modules/geom.git] / src / TransformationGUI / TransformationGUI_PositionDlg.cxx
index 907e8686e5a3de0b6a86362dfaf8cf2f78f1ee48..007817644c27146b3915368bdd4a7ed582377db8 100644 (file)
@@ -608,3 +608,14 @@ void TransformationGUI_PositionDlg::addSubshapesToStudy()
   if ( getConstructorId() == 2 )
     GEOMBase::PublishSubObject( myPath.get() );
 }
+
+//=================================================================================
+// function : getSourceObjects
+// purpose  : virtual method to get source objects
+//=================================================================================
+QList<GEOM::GeomObjPtr> TransformationGUI_PositionDlg::getSourceObjects()
+{
+  QList<GEOM::GeomObjPtr> res(myObjects);
+  res << myStartLCS << myEndLCS << myPath;
+  return res;
+}