From b44010dc574b56743e42c587a22e1d9037d0dbe0 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 6 Oct 2016 11:02:40 +0300 Subject: [PATCH] 0023360: [CEA 1963] Use salome.sg.updateObjBrowser(True) instead of salome.sg.updateObjBrowser(1) --- src/SalomeApp/pluginsdemo/tubebuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SalomeApp/pluginsdemo/tubebuilder.py b/src/SalomeApp/pluginsdemo/tubebuilder.py index e63198a9c..3fcb8c639 100644 --- a/src/SalomeApp/pluginsdemo/tubebuilder.py +++ b/src/SalomeApp/pluginsdemo/tubebuilder.py @@ -84,7 +84,7 @@ def createMesh(study, shape): smesh.SetName(Nb_Segments, 'Nb. Segments_1') smesh.SetName(Quadrangle_2D.GetAlgorithm(), 'Quadrangle_2D') smesh.SetName(Hexa_3D.GetAlgorithm(), 'Hexa_3D') - salome.sg.updateObjBrowser(0) + salome.sg.updateObjBrowser(False) return mesh -- 2.39.2