From 7f2264006bd211b6f27367ba21e83a937cd87ca0 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 22 Jan 2013 12:01:47 +0000 Subject: [PATCH] fix exception at "m = smesh.Mesh()" --- src/SMESH_SWIG/smeshDC.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index a9b73a6e1..6a18f14c9 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -986,6 +986,7 @@ class Mesh: self.geompyD=geompyD if obj is None: obj = 0 + objHasName = False if obj != 0: objHasName = True if isinstance(obj, geompyDC.GEOM._objref_GEOM_Object): -- 2.39.2