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) )
This commit is contained in:
eap 2007-04-12 10:26:04 +00:00
parent d289bea8cf
commit 4ecc69b9b1

View File

@ -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