Considering this is the cause of the bug:
// Number of segments to convert a circle to polygon
// Boost polygon (at least v 1.54, v1.55 and previous) in very rare cases crashes
// when using 16 segments to approximate a circle.
// So using 18 segments is a workaround to try to avoid these crashes
Then in this line:
775 pad->BuildPadDrillShapePolygon( allLayerHoles, 0, (int)(segcountLowQuality * segFactor) );
We need to make sure that the value is not 16, something like:
nrSeg = (int)(segcountLowQuality * segFactor);
if( nrSeg == 16 )
nrSeg = 15;
:)
I will on holidays away from the computer to test and patch it, I appreciate if you can fix it for me!
I know what is causing this bug.
Jean-pierre:
Considering this is the cause of the bug:
// Number of segments to convert a circle to polygon
// Boost polygon (at least v 1.54, v1.55 and previous) in very rare cases crashes
// when using 16 segments to approximate a circle.
// So using 18 segments is a workaround to try to avoid these crashes
Then in this line: illShapePolygon ( allLayerHoles, 0,
(int) (segcountLowQua lity * segFactor) );
775 pad->BuildPadDr
We need to make sure that the value is not 16, something like: owQuality * segFactor);
nrSeg = (int)(segcountL
if( nrSeg == 16 )
nrSeg = 15;
:)
I will on holidays away from the computer to test and patch it, I appreciate if you can fix it for me!