mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 02:40: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)
|
b = smesh.Compute(self.mesh, self.geom)
|
||||||
if salome.sg.hasDesktop():
|
if salome.sg.hasDesktop():
|
||||||
|
smeshgui = salome.ImportComponentGUI("SMESH")
|
||||||
|
smeshgui.Init(salome.myStudyId)
|
||||||
|
smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), b )
|
||||||
salome.sg.updateObjBrowser(1)
|
salome.sg.updateObjBrowser(1)
|
||||||
return b
|
return b
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user