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:
8045972
)
Avoid dump study crash
author
mpv
<mpv@opencascade.com>
Mon, 20 Jan 2020 11:30:14 +0000
(14:30 +0300)
committer
mpv
<mpv@opencascade.com>
Mon, 20 Jan 2020 11:30:14 +0000
(14:30 +0300)
src/PY/SHAPERSTUDY.py
patch
|
blob
|
history
diff --git
a/src/PY/SHAPERSTUDY.py
b/src/PY/SHAPERSTUDY.py
index 0488f83eaee2e38329943ab1000d08e2ad707205..f9f3ef01cf76644c82e7040994b45b2b2e188586 100644
(file)
--- a/
src/PY/SHAPERSTUDY.py
+++ b/
src/PY/SHAPERSTUDY.py
@@
-191,7
+191,7
@@
class SHAPERSTUDY(SHAPERSTUDY_ORB__POA.Gen,
Returns all names with which Object's was dumped
into python script to avoid the same names in SMESH script
"""
- return [
""
]
+ return []
def GetDumpName( self, theStudyEntry ):
"""
@@
-361,7
+361,7
@@
class SHAPERSTUDY(SHAPERSTUDY_ORB__POA.Gen,
"""
Dump module data to the Python script.
"""
- return ("".encode(), 1)
+ return ("
# SHAPER STUDY DUMP
".encode(), 1)