Add comment

This commit is contained in:
tamasmeszaros 2022-04-26 09:44:00 +02:00
parent 32a923da93
commit 0025a65611

View File

@ -93,6 +93,7 @@ void append_svg(std::string &buf, const Polygon &poly)
for (const Point &p : poly) { for (const Point &p : poly) {
Point d = p - c; Point d = p - c;
c = p; c = p;
// FIXME: I cannot figure out why this produces broken geometries
// if (d.x() == 0 && d.y() == 0) // if (d.x() == 0 && d.y() == 0)
// continue; // continue;
buf += " "sv; buf += " "sv;