Salome HOME
0022377: EDF 2752 GEOM: Add a preference in order to automatically unpublished parent...
[modules/geom.git] / src / MeasureGUI / MeasureGUI_BndBoxDlg.cxx
index 3625c0f1649a20d9ffdfd1d0f660149edae4b2ae..9a3567ce9fc14b779bca51525c557f0aef199238 100644 (file)
@@ -352,3 +352,14 @@ void MeasureGUI_BndBoxDlg::addSubshapesToStudy()
 {
   GEOMBase::PublishSubObject( myObj.get() );
 }
+
+//=================================================================================
+// function : getSourceObjects
+// purpose  : virtual method to get source objects
+//=================================================================================
+QList<GEOM::GeomObjPtr> MeasureGUI_BndBoxDlg::getSourceObjects()
+{
+  QList<GEOM::GeomObjPtr> res;
+  res << myObj;
+  return res;
+}