mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 04:10:33 +05:00
Regression on SMESH_TEST/Grids/smesh/bugs/G9
In SetCurrentStudy(), initialize notebook with a given study
This commit is contained in:
parent
a53a044a3f
commit
116907dd1e
@ -443,6 +443,11 @@ class smeshDC(SMESH._objref_SMESH_Gen):
|
|||||||
self.geompyD=geompyD
|
self.geompyD=geompyD
|
||||||
self.SetGeomEngine(geompyD)
|
self.SetGeomEngine(geompyD)
|
||||||
SMESH._objref_SMESH_Gen.SetCurrentStudy(self,theStudy)
|
SMESH._objref_SMESH_Gen.SetCurrentStudy(self,theStudy)
|
||||||
|
global notebook
|
||||||
|
if theStudy:
|
||||||
|
notebook = salome_notebook.NoteBook( theStudy )
|
||||||
|
else:
|
||||||
|
notebook = salome_notebook.NoteBook( salome_notebook.PseudoStudyForNoteBook() )
|
||||||
|
|
||||||
## Gets the current study
|
## Gets the current study
|
||||||
# @ingroup l1_auxiliary
|
# @ingroup l1_auxiliary
|
||||||
|
Loading…
Reference in New Issue
Block a user