From 94e850392826c6c8e7a4c5bd844b4691d53f41e1 Mon Sep 17 00:00:00 2001 From: nbv Date: Thu, 19 Jan 2017 17:29:04 +0300 Subject: [PATCH] Fix for issue #28150 Set-61 --- src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx b/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx index 4a7abbf1a4..82058dd503 100644 --- a/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx +++ b/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx @@ -721,6 +721,7 @@ Handle(Adaptor2d_HCurve2d) Standard_Integer NbOfPnts = 61; GCPnts_QuasiUniformAbscissa QUA(Curve->GetCurve(),NbOfPnts); + NbOfPnts = QUA.NbPoints(); TColgp_Array1OfPnt Pts(1,NbOfPnts); TColStd_Array1OfReal Param(1,NbOfPnts); Standard_Integer i, j; -- 2.39.5