mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 21:30:33 +05:00
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:
parent
d289bea8cf
commit
4ecc69b9b1
@ -1321,7 +1321,7 @@ class Mesh:
|
|||||||
if salome.sg.hasDesktop():
|
if salome.sg.hasDesktop():
|
||||||
smeshgui = salome.ImportComponentGUI("SMESH")
|
smeshgui = salome.ImportComponentGUI("SMESH")
|
||||||
smeshgui.Init(salome.myStudyId)
|
smeshgui.Init(salome.myStudyId)
|
||||||
smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok )
|
smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok, (NbNodes()==0) )
|
||||||
salome.sg.updateObjBrowser(1)
|
salome.sg.updateObjBrowser(1)
|
||||||
pass
|
pass
|
||||||
return ok
|
return ok
|
||||||
|
Loading…
Reference in New Issue
Block a user