From: eap Date: Thu, 12 Apr 2007 10:26:04 +0000 (+0000) Subject: PAL13330( When mesh generation does not success, trace where ) X-Git-Tag: V3_2_6pre4~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4ecc69b9b11d308e2f8a70fae5cc1293e9f6176d;p=modules%2Fsmesh.git PAL13330( When mesh generation does not success, trace where ) - smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok ) + smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok, (NbNodes()==0) ) --- diff --git a/src/SMESH_SWIG/smesh.py b/src/SMESH_SWIG/smesh.py index 8d3943f11..db9602b40 100644 --- a/src/SMESH_SWIG/smesh.py +++ b/src/SMESH_SWIG/smesh.py @@ -1321,7 +1321,7 @@ class Mesh: if salome.sg.hasDesktop(): smeshgui = salome.ImportComponentGUI("SMESH") smeshgui.Init(salome.myStudyId) - smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok ) + smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok, (NbNodes()==0) ) salome.sg.updateObjBrowser(1) pass return ok