mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
PAL9199. update mesh icon in Mesh.Compute()
This commit is contained in:
parent
ad9d3ea3e7
commit
22fbc3c655
@ -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