From: eap Date: Thu, 1 Sep 2005 09:59:58 +0000 (+0000) Subject: Bug PAL9480. Fix "import ex05_hole1build" X-Git-Tag: V_3_0_2a~1 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=c87dcc36c2504ee743ce84618e66952673b96d90 Bug PAL9480. Fix "import ex05_hole1build" --- diff --git a/src/SMESH_SWIG/smesh.py b/src/SMESH_SWIG/smesh.py index 9c0d2baf7..ea7c6d131 100644 --- 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