Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25448a4
)
If study is loaded from HDF file, init_smesh() has to load data to the engine calling...
author
vsr
<vsr@opencascade.com>
Fri, 6 Feb 2015 13:54:08 +0000
(16:54 +0300)
committer
vsr
<vsr@opencascade.com>
Fri, 6 Feb 2015 13:54:08 +0000
(16:54 +0300)
src/SMESH_SWIG/smeshBuilder.py
patch
|
blob
|
history
diff --git
a/src/SMESH_SWIG/smeshBuilder.py
b/src/SMESH_SWIG/smeshBuilder.py
index 132313ef0b3e69a1997b1946dbaaeb93f568d3a6..a1cad6a92fed64024f64e88f4071c81768655041 100644
(file)
--- a/
src/SMESH_SWIG/smeshBuilder.py
+++ b/
src/SMESH_SWIG/smeshBuilder.py
@@
-536,6
+536,12
@@
class smeshBuilder(object, SMESH._objref_SMESH_Gen):
notebook = salome_notebook.NoteBook( theStudy )
else:
notebook = salome_notebook.NoteBook( salome_notebook.PseudoStudyForNoteBook() )
+ if theStudy:
+ sb = theStudy.NewBuilder()
+ sc = theStudy.FindComponent("SMESH")
+ if sc: sb.LoadWith(sc, self)
+ pass
+ pass
## Gets the current study
# @ingroup l1_auxiliary