From c87dcc36c2504ee743ce84618e66952673b96d90 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 1 Sep 2005 09:59:58 +0000 Subject: [PATCH] Bug PAL9480. Fix "import ex05_hole1build" --- src/SMESH_SWIG/smesh.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2