Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0020623: EDF 1209 SMESH: Load script/execfile add the objects in the wrong study
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
PAL_MESH_043_2D.py
diff --git
a/src/SMESH_SWIG/PAL_MESH_043_2D.py
b/src/SMESH_SWIG/PAL_MESH_043_2D.py
index 35bd54cda299820577daf6364117a23922372b1d..85fa92589c47e8cc6aebe761502237998d36e44d 100755
(executable)
--- a/
src/SMESH_SWIG/PAL_MESH_043_2D.py
+++ b/
src/SMESH_SWIG/PAL_MESH_043_2D.py
@@
-52,6
+52,7
@@
id_ellipse2 = geompy.addToStudy(ellipse2, "Ellips 2")
#---------------------------------SMESH
+smesh.SetCurrentStudy(salome.myStudy)
# create the path mesh
mesh1 = smesh.Mesh(ellipse1, "Path Mesh")