Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PAL13473 (Build repetitive mesh):
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
smesh.py
diff --git
a/src/SMESH_SWIG/smesh.py
b/src/SMESH_SWIG/smesh.py
index b4ac7108f632b159eb9cb84cb7d5f95744158c3c..bc6777cc3367cc43abbb78d6dc1c4db88d8f5761 100644
(file)
--- a/
src/SMESH_SWIG/smesh.py
+++ b/
src/SMESH_SWIG/smesh.py
@@
-1022,6
+1022,8
@@
class Mesh:
# @param obj Shape to be meshed or SMESH_Mesh object
# @param name Study name of the mesh
def __init__(self, obj=0, name=0):
+ if obj is None:
+ obj = 0
if obj != 0:
if isinstance(obj, geompy.GEOM._objref_GEOM_Object):
self.geom = obj