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:
a023eb1
)
Add missing import SMESH
author
vsr
<vsr@opencascade.com>
Wed, 2 Dec 2015 09:42:04 +0000
(12:42 +0300)
committer
vsr
<vsr@opencascade.com>
Wed, 2 Dec 2015 09:42:04 +0000
(12:42 +0300)
src/SMESH_SWIG/StdMeshersBuilder.py
patch
|
blob
|
history
diff --git
a/src/SMESH_SWIG/StdMeshersBuilder.py
b/src/SMESH_SWIG/StdMeshersBuilder.py
index d9ad9bf5ee3643766cfa4942770d0c2e6b2301cf..6dd91e28875d897a6c5f0a6025d70ff08f96a216 100644
(file)
--- a/
src/SMESH_SWIG/StdMeshersBuilder.py
+++ b/
src/SMESH_SWIG/StdMeshersBuilder.py
@@
-1417,6
+1417,7
@@
class StdMeshersBuilder_UseExistingElements_1D2D(Mesh_Algorithm):
# @param UseExisting if ==true - searches for the existing hypothesis created with
# the same parameters, else (default) - creates a new one
def SourceFaces(self, groups, toCopyMesh=False, toCopyGroups=False, UseExisting=False):
+ import SMESH
compFun = lambda hyp, args: ( hyp.GetSourceFaces() == args[0] and \
hyp.GetCopySourceMesh() == args[1], args[2] )
hyp = self.Hypothesis("ImportSource2D", [groups, toCopyMesh, toCopyGroups],