From: eap Date: Tue, 22 Jan 2013 12:01:47 +0000 (+0000) Subject: fix exception at "m = smesh.Mesh()" X-Git-Tag: pluginMGCleaner~175 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7f2264006bd211b6f27367ba21e83a937cd87ca0;p=modules%2Fsmesh.git fix exception at "m = smesh.Mesh()" --- 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):