From 049b05b6d13f98bd9101deea032987ae2ac27145 Mon Sep 17 00:00:00 2001 From: skv Date: Wed, 8 Oct 2014 14:06:49 +0400 Subject: [PATCH] Fix the number of points (creation information) --- src/GEOMImpl/GEOMImpl_PolylineDriver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GEOMImpl/GEOMImpl_PolylineDriver.cxx b/src/GEOMImpl/GEOMImpl_PolylineDriver.cxx index 632ba525d..1a996c1e5 100644 --- a/src/GEOMImpl/GEOMImpl_PolylineDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_PolylineDriver.cxx @@ -373,7 +373,7 @@ GetCreationInformation(std::string& theOperationName, aP2d.GetCoords(aCoords); if (aCoords.size() == 1) { - AddParam(theParams, "Number of points", aCoords.front().size()); + AddParam(theParams, "Number of points", aCoords.front().size()/2); } } else { // There are more than 1 curve. -- 2.39.2