]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0020308: EDF 995 GEOM : Closed Polyline with tangence V5_1_4rc1
authorvsr <vsr@opencascade.com>
Wed, 5 May 2010 08:38:21 +0000 (08:38 +0000)
committervsr <vsr@opencascade.com>
Wed, 5 May 2010 08:38:21 +0000 (08:38 +0000)
Fix problem with python dump

src/GEOMImpl/GEOMImpl_ICurvesOperations.cxx

index 8522aa6d700809bc6c235ccbd1c63b905e105078..463af06e3fa0364dd257c3a9334dba63bc152d52 100644 (file)
@@ -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;