From 4ecc69b9b11d308e2f8a70fae5cc1293e9f6176d Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 12 Apr 2007 10:26:04 +0000 Subject: [PATCH] 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) ) --- src/SMESH_SWIG/smesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2