mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 23:10:33 +05:00
If study is loaded from HDF file, init_smesh() has to load data to the engine calling LoadWith() function of StudyBuilder
This commit is contained in:
parent
25448a41ca
commit
02685fae6f
@ -536,6 +536,12 @@ class smeshBuilder(object, SMESH._objref_SMESH_Gen):
|
|||||||
notebook = salome_notebook.NoteBook( theStudy )
|
notebook = salome_notebook.NoteBook( theStudy )
|
||||||
else:
|
else:
|
||||||
notebook = salome_notebook.NoteBook( salome_notebook.PseudoStudyForNoteBook() )
|
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
|
## Gets the current study
|
||||||
# @ingroup l1_auxiliary
|
# @ingroup l1_auxiliary
|
||||||
|
Loading…
Reference in New Issue
Block a user