Salome HOME
0023360: [CEA 1963] Use salome.sg.updateObjBrowser(True) instead of salome.sg.updateO...
[modules/smesh.git] / src / SMESH_SWIG / SMESH_demo_hexa2_upd.py
index ed159a5e5b04f85a84d7b3e16b3787ed710e3356..ef6ea57c1dc63563aac531a19e54d223e15b7327 100755 (executable)
@@ -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)