X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_SWIG%2FSMESH_demo_hexa2_upd.py;h=ef6ea57c1dc63563aac531a19e54d223e15b7327;hb=1a3a88cfc996394b2c79f2cf374c8f3c4140f036;hp=ed159a5e5b04f85a84d7b3e16b3787ed710e3356;hpb=7eda9ca931ed2a11cb5e4637e4ffe19f5c061115;p=modules%2Fsmesh.git diff --git a/src/SMESH_SWIG/SMESH_demo_hexa2_upd.py b/src/SMESH_SWIG/SMESH_demo_hexa2_upd.py index ed159a5e5..ef6ea57c1 100755 --- a/src/SMESH_SWIG/SMESH_demo_hexa2_upd.py +++ b/src/SMESH_SWIG/SMESH_demo_hexa2_upd.py @@ -176,7 +176,7 @@ for i in range(8): smesh.SetName(algo.GetSubMesh(), "SubMeshEdgeZ_"+str(i+1)) -salome.sg.updateObjBrowser(1) +salome.sg.updateObjBrowser(True) print "-------------------------- compute the mesh of the volume" @@ -197,4 +197,4 @@ if ret != 0: else: print "problem when Computing the mesh" -salome.sg.updateObjBrowser(1) +salome.sg.updateObjBrowser(True)