mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
PAL9199. update mesh icon in Mesh.Compute()
This commit is contained in:
parent
ffccd77f47
commit
e37d388ced
@ -407,6 +407,9 @@ class Mesh:
|
||||
"""
|
||||
b = smesh.Compute(self.mesh, self.geom)
|
||||
if salome.sg.hasDesktop():
|
||||
smeshgui = salome.ImportComponentGUI("SMESH")
|
||||
smeshgui.Init(salome.myStudyId)
|
||||
smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), b )
|
||||
salome.sg.updateObjBrowser(1)
|
||||
return b
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user