Salome HOME
Bug PAL9480. Fix "import ex05_hole1build"
authoreap <eap@opencascade.com>
Thu, 1 Sep 2005 09:59:58 +0000 (09:59 +0000)
committereap <eap@opencascade.com>
Thu, 1 Sep 2005 09:59:58 +0000 (09:59 +0000)
src/SMESH_SWIG/smesh.py

index 9c0d2baf766753f39159e17804fc89aaeacdb211..ea7c6d1312ad3c4cccdbd31ffa33b2ca28efd3b1 100644 (file)
@@ -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