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 9c0d2ba..ea7c6d1 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