Salome HOME
projects
/
modules
/
shaper_study.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make SHAPERSTUDY group never main shape
[modules/shaper_study.git]
/
src
/
PY
/
SHAPERSTUDY_Object.py
diff --git
a/src/PY/SHAPERSTUDY_Object.py
b/src/PY/SHAPERSTUDY_Object.py
index 17a09e2817d4112051e375a045a487add60de25e..d0d2317eae418bd591344ce144410526e1b07f8c 100755
(executable)
--- 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
"""
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
def GetMainShape( self ):
"""
Main shape is groups owner