Radia simplification sets the second point to null when simplifying a one point "line"
Closed this issue · 1 comments
countrodrigo commented
If you pass an array with just one point, the code line of code linked will always add the point
, which is set to null in the init code. This function should probably return a single point.
hgoebl commented
Thanks @countrodrigo this is indeed a bug. I'll fixed it.
In the meanwhile, one could call simplification only for lines with more than 2 points.
1-point lines and 2-point lines cannot be simplified anyway, obviously.