From 40c4dc592c60a0a03721112a4f7ef8e4957c42c5 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 22 Jan 2013 12:41:16 +0000 Subject: [PATCH] fix mesh name at "m = smesh.Mesh(mesh)" --- src/SMESH_SWIG/smeshDC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2