mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 02:40:35 +05:00
fix mesh name at "m = smesh.Mesh(mesh)"
This commit is contained in:
parent
7f2264006b
commit
f5335851f1
@ -988,9 +988,9 @@ class Mesh:
|
||||
obj = 0
|
||||
objHasName = False
|
||||
if obj != 0:
|
||||
objHasName = True
|
||||
if isinstance(obj, geompyDC.GEOM._objref_GEOM_Object):
|
||||
self.geom = obj
|
||||
objHasName = True
|
||||
# publish geom of mesh (issue 0021122)
|
||||
if not self.geom.GetStudyEntry() and smeshpyD.GetCurrentStudy():
|
||||
objHasName = False
|
||||
|
Loading…
Reference in New Issue
Block a user