it can be safely removed, the following if statement takes care of the invalid state(Enrico said)

This commit is contained in:
Filip Sykala 2021-09-20 08:53:09 +02:00
parent 2b0408cc24
commit 9b0a17939e

View file

@ -324,7 +324,6 @@ void GLVolume::SinkingContours::update()
if (polygon.is_clockwise())
polygon.reverse();
Polygons outer_polys = offset(polygon, float(scale_(HalfWidth)));
assert(outer_polys.size() == 1);
if (outer_polys.empty())
// no outer contour, skip
continue;