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
Bug PAL9480. Fix "import ex05_hole1build"
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
smesh.py
diff --git
a/src/SMESH_SWIG/smesh.py
b/src/SMESH_SWIG/smesh.py
index 9c0d2baf766753f39159e17804fc89aaeacdb211..ea7c6d1312ad3c4cccdbd31ffa33b2ca28efd3b1 100644
(file)
--- a/
src/SMESH_SWIG/smesh.py
+++ b/
src/SMESH_SWIG/smesh.py
@@
-156,6
+156,7
@@
class Mesh_Segment(Mesh_Algorithm):
hyp = self.Hypothesis("NumberOfSegments", [n])
else:
hyp = self.Hypothesis("NumberOfSegments", [n,s])
+ hyp.SetDistrType( 1 )
hyp.SetScaleFactor(s)
hyp.SetNumberOfSegments(n)
return hyp