← Back to team overview

kicad-developers team mailing list archive

Re: PCBNew: Segments/polygons not rendered correctly (from Bug 1806411])


Am 2018-12-18 14:19, schrieb jp charras:

Sorry Seth,

But with your fixes, CacheTriangulation() crashes with degenerated polygons.

To see that, modify gerbview_painter.cpp, line 265 to remove
absolutePolygon.COutline( 0 ).PointCount() < 3
and try to load the test file test_polygons_with_arcs.gbr in Gerbview.

Hi JP-

Thanks for finding that. The issue was that the Fracture() call resulted in an empty polygon set with no outlines and I hadn't re-tested its validity. 64f1fb9e7 fixes the bug.


Follow ups