From: skv Date: Wed, 8 Oct 2014 10:06:49 +0000 (+0400) Subject: Fix the number of points (creation information) X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=049b05b6d13f98bd9101deea032987ae2ac27145;p=modules%2Fgeom.git Fix the number of points (creation information) --- 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.