From: eap Date: Tue, 22 Jan 2013 12:40:21 +0000 (+0000) Subject: fix mesh name at "m = smesh.Mesh(mesh)" X-Git-Tag: pluginMGCleaner~174 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f5335851f10ffbcc0fc6b7e341b3126bfe5d89b7;p=modules%2Fsmesh.git fix mesh name at "m = smesh.Mesh(mesh)" --- diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index 6a18f14c9..74c43a599 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -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