From: vsr Date: Wed, 5 May 2010 08:38:21 +0000 (+0000) Subject: 0020308: EDF 995 GEOM : Closed Polyline with tangence X-Git-Tag: V5_1_4rc1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=88f9edb95bcddb02057bc83f3b611d45575c64d4;p=modules%2Fgeom.git 0020308: EDF 995 GEOM : Closed Polyline with tangence Fix problem with python dump --- 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;