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.

-Seth

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to