]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
fix exception at "m = smesh.Mesh()"
authoreap <eap@opencascade.com>
Tue, 22 Jan 2013 12:01:47 +0000 (12:01 +0000)
committereap <eap@opencascade.com>
Tue, 22 Jan 2013 12:01:47 +0000 (12:01 +0000)
src/SMESH_SWIG/smeshDC.py

index a9b73a6e185f3a6c7c25a6b2035d880ad58377d5..6a18f14c9d5398c6351d0bbc567881bef72494a0 100644 (file)
@@ -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):