Fix the number of points (creation information)

This commit is contained in:
skv 2014-10-08 14:06:49 +04:00
parent 2b4e071923
commit 049b05b6d1

View File

@ -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.