mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 20:30:35 +05:00
fix exception at "m = smesh.Mesh()"
This commit is contained in:
parent
577999dffd
commit
7f2264006b
@ -986,6 +986,7 @@ class Mesh:
|
|||||||
self.geompyD=geompyD
|
self.geompyD=geompyD
|
||||||
if obj is None:
|
if obj is None:
|
||||||
obj = 0
|
obj = 0
|
||||||
|
objHasName = False
|
||||||
if obj != 0:
|
if obj != 0:
|
||||||
objHasName = True
|
objHasName = True
|
||||||
if isinstance(obj, geompyDC.GEOM._objref_GEOM_Object):
|
if isinstance(obj, geompyDC.GEOM._objref_GEOM_Object):
|
||||||
|
Loading…
Reference in New Issue
Block a user