From: mpv Date: Thu, 12 Mar 2020 12:53:32 +0000 (+0300) Subject: Make SHAPERSTUDY group never main shape X-Git-Tag: V9_5_0a2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=36929f44edd79d1a2e8a35c99292e7204bc5fd1d;p=modules%2Fshaper_study.git Make SHAPERSTUDY group never main shape --- diff --git a/src/PY/SHAPERSTUDY_Object.py b/src/PY/SHAPERSTUDY_Object.py index 17a09e2..d0d2317 100755 --- a/src/PY/SHAPERSTUDY_Object.py +++ b/src/PY/SHAPERSTUDY_Object.py @@ -375,6 +375,12 @@ class SHAPERSTUDY_Group(SHAPERSTUDY_ORB__POA.SHAPER_Group, SHAPERSTUDY_Object): """ return self.selection + def IsMainShape( self ): + """ + Returns True if this object is not a sub-shape of another object. + """ + return False + def GetMainShape( self ): """ Main shape is groups owner