Salome HOME
INT PAL 0052683: Parameter "Color group" in the "Create Group" dialog box is empty
[modules/smesh.git] / src / SMESH_SWIG / SMESH_fixation_tetra.py
index 0964cff0ddd267a6f48d46885e664c6d3d957e66..daf2b8793c53ca1236a084932e0f4f33556d46ed 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -105,9 +105,6 @@ print hypVolume.GetId()
 print hypVolume.GetMaxElementVolume()
 smesh.SetName(hypVolume, "MaxElementVolume_" + str(maxElementVolume))
 
-
-salome.sg.updateObjBrowser(1)
-
 print "-------------------------- compute compshell"
 ret = mesh.Compute(mesh)
 print ret
@@ -125,3 +122,5 @@ if ret != 0:
     
 else:
     print "problem when computing the mesh"
+
+salome.sg.updateObjBrowser(1)