From 88f9edb95bcddb02057bc83f3b611d45575c64d4 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 5 May 2010 08:38:21 +0000 Subject: [PATCH] 0020308: EDF 995 GEOM : Closed Polyline with tangence Fix problem with python dump --- src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx b/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx index 8522aa6d7..463af06e3 100644 --- a/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx @@ -723,7 +723,9 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeSplineInterpolation while (it != thePoints.end()) { pd << ", " << (*it++); } - pd << "])"; + pd << "]"; + if ( theIsClosed ) pd << ", True"; + pd << ")"; SetErrorCode(OK); return aSpline; -- 2.30.2