From: eap Date: Fri, 13 Apr 2007 06:45:39 +0000 (+0000) Subject: PAL13330( When mesh generation does not success, trace where ) X-Git-Tag: V3_2_6pre4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=87c680fa8416381ee117d9181b62df1b9a36e3ba;p=modules%2Fsmesh.git PAL13330( When mesh generation does not success, trace where ) - smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok, (NbNodes()==0) ) + smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok, (self.NbNodes()==0) ) --- diff --git a/src/SMESH_SWIG/smesh.py b/src/SMESH_SWIG/smesh.py index db9602b40..7d46dd9d7 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, (NbNodes()==0) ) + smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok, (self.NbNodes()==0) ) salome.sg.updateObjBrowser(1) pass return ok