Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab99cd2
)
PAL13473 (Build repetitive mesh):
author
eap
<eap@opencascade.com>
Thu, 7 Dec 2006 17:09:33 +0000
(17:09 +0000)
committer
eap
<eap@opencascade.com>
Thu, 7 Dec 2006 17:09:33 +0000
(17:09 +0000)
fix problem with Mesh(None)
src/SMESH_SWIG/smesh.py
patch
|
blob
|
history
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