Salome HOME
Fix sub-mesh creation by selection of mesh element
[modules/shaper_study.git] / src / PY / SHAPERSTUDY_IOperations.py
index 75ec4662c011d39762bd8cb6071d061dec071b42..624d91f7df4851d30ac35be8bfa67984800098b5 100644 (file)
@@ -181,6 +181,7 @@ class SHAPERSTUDY_IGroupOperations(SHAPERSTUDY_ORB__POA.IGroupOperations):
         """
         aSO = theGroup.GetSO()
         aFatherSO = aSO.GetFather()
+        anObj = aFatherSO.GetObject()
         if isinstance( anObj, SHAPERSTUDY_ORB._objref_SHAPER_Object ):
             return anObj
         else: