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
(parent:
466b677
)
Implement all methods of GEOM_Field because they can be accidentally called from...
author
eap
<eap@opencascade.com>
Fri, 8 May 2020 11:01:31 +0000
(14:01 +0300)
committer
eap
<eap@opencascade.com>
Fri, 8 May 2020 11:01:31 +0000
(14:01 +0300)
src/PY/SHAPERSTUDY_Field.py
patch
|
blob
|
history
diff --git
a/src/PY/SHAPERSTUDY_Field.py
b/src/PY/SHAPERSTUDY_Field.py
index dee179d662de81795a5cce15d23f83de2a942b40..9fae4872fd1558eabec7721177b2bf136332b49e 100644
(file)
--- a/
src/PY/SHAPERSTUDY_Field.py
+++ b/
src/PY/SHAPERSTUDY_Field.py
@@
-58,6
+58,13
@@
class SHAPERSTUDY_Field(SHAPERSTUDY_ORB__POA.Field):
"""
return -1
+ ### unnecessary methods that can be accidentally called from any module
+ def AddStep(self, *args): return
+ def RemoveStep(self, *args): return
+ def CountSteps(self, *args): return 0
+ def GetStep(self, *args): return 0
+ def GetArraySize(self, *args): return 0
+
pass