From: eap Date: Tue, 29 Apr 2014 11:38:50 +0000 (+0400) Subject: Update notebook.myStudy X-Git-Tag: V7_4_0rc1~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=538a5a27edad787c169b9a678fc1e62c897b9a81;p=modules%2Fsmesh.git Update notebook.myStudy --- diff --git a/src/SMESH_SWIG/smeshBuilder.py b/src/SMESH_SWIG/smeshBuilder.py index 778b72c3b..6e0812455 100644 --- a/src/SMESH_SWIG/smeshBuilder.py +++ b/src/SMESH_SWIG/smeshBuilder.py @@ -383,6 +383,9 @@ class smeshBuilder(object, SMESH._objref_SMESH_Gen): def init_smesh(self,theStudy,geompyD = None): #print "init_smesh" self.SetCurrentStudy(theStudy,geompyD) + if theStudy: + global notebook + notebook.myStudy = theStudy ## Creates a mesh. This can be either an empty mesh, possibly having an underlying geometry, # or a mesh wrapping a CORBA mesh given as a parameter.