mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 15:35:56 +08:00
it can be safely removed, the following if statement takes care of the invalid state(Enrico said)
This commit is contained in:
parent
2b0408cc24
commit
9b0a17939e
@ -324,7 +324,6 @@ void GLVolume::SinkingContours::update()
|
|||||||
if (polygon.is_clockwise())
|
if (polygon.is_clockwise())
|
||||||
polygon.reverse();
|
polygon.reverse();
|
||||||
Polygons outer_polys = offset(polygon, float(scale_(HalfWidth)));
|
Polygons outer_polys = offset(polygon, float(scale_(HalfWidth)));
|
||||||
assert(outer_polys.size() == 1);
|
|
||||||
if (outer_polys.empty())
|
if (outer_polys.empty())
|
||||||
// no outer contour, skip
|
// no outer contour, skip
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user