From 2620c8a9db1ba4d0ba49b9bec2b75db0dbb859d8 Mon Sep 17 00:00:00 2001 From: Gilles DAVID Date: Thu, 23 Mar 2017 15:23:02 +0100 Subject: [PATCH] Boolean arguments for updateObjBrowser --- src/Tools/ZCracksPlug/casTests/genereCube.py | 4 ++-- src/Tools/ZCracksPlug/ellipse.py | 2 +- src/Tools/ZCracksPlug/rectangle.py | 2 +- src/Tools/ZCracksPlug/sphere.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Tools/ZCracksPlug/casTests/genereCube.py b/src/Tools/ZCracksPlug/casTests/genereCube.py index 2ab20472e..635f20d95 100644 --- a/src/Tools/ZCracksPlug/casTests/genereCube.py +++ b/src/Tools/ZCracksPlug/casTests/genereCube.py @@ -112,7 +112,7 @@ def cube3D(L, N, outFile): Maillage_1.ExportMED( outFile, 0, SMESH.MED_V2_2, 1, None ,1) #if salome.sg.hasDesktop(): - #salome.sg.updateObjBrowser(1) + #salome.sg.updateObjBrowser(True) @@ -194,4 +194,4 @@ def cube2D(L, N, outFile): Maillage_1.ExportMED( outFile, 0, SMESH.MED_V2_2, 1, None ,1) #if salome.sg.hasDesktop(): - #salome.sg.updateObjBrowser(1) \ No newline at end of file + #salome.sg.updateObjBrowser(True) diff --git a/src/Tools/ZCracksPlug/ellipse.py b/src/Tools/ZCracksPlug/ellipse.py index 717287880..112c76bcf 100644 --- a/src/Tools/ZCracksPlug/ellipse.py +++ b/src/Tools/ZCracksPlug/ellipse.py @@ -199,4 +199,4 @@ def generate(data_demi_grand_axe, data_centre, data_normale, if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) diff --git a/src/Tools/ZCracksPlug/rectangle.py b/src/Tools/ZCracksPlug/rectangle.py index d5d8108cc..142cac57f 100644 --- a/src/Tools/ZCracksPlug/rectangle.py +++ b/src/Tools/ZCracksPlug/rectangle.py @@ -223,4 +223,4 @@ def generate(data_longueur,data_largeur,data_centre, if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) diff --git a/src/Tools/ZCracksPlug/sphere.py b/src/Tools/ZCracksPlug/sphere.py index 5de3c5cbf..94e2d6a52 100644 --- a/src/Tools/ZCracksPlug/sphere.py +++ b/src/Tools/ZCracksPlug/sphere.py @@ -67,4 +67,4 @@ def generate(data_rayon,data_centre,outFile): if salome.sg.hasDesktop(): - salome.sg.updateObjBrowser(1) + salome.sg.updateObjBrowser(True) -- 2.39.2