Salome HOME
projects
/
modules
/
shaper_study.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fcb5532
)
Make SHAPERSTUDY group never main shape
author
mpv
<mpv@opencascade.com>
Thu, 12 Mar 2020 12:53:32 +0000
(15:53 +0300)
committer
mpv
<mpv@opencascade.com>
Thu, 12 Mar 2020 12:53:42 +0000
(15:53 +0300)
src/PY/SHAPERSTUDY_Object.py
patch
|
blob
|
history
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
+ 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