Revert "Record hole knockouts in zone filler earlier"

This reverts commit 1ccaf45740.
Breaks sone thermal shapes.
Not needed after Clipper2 update.
This commit is contained in:
jean-pierre charras 2023-08-24 18:47:11 +02:00
parent 049ecc43e3
commit 0f93752f14
1 changed files with 3 additions and 4 deletions

View File

@ -1449,10 +1449,6 @@ bool ZONE_FILLER::fillCopperZone( const ZONE* aZone, PCB_LAYER_ID aLayer, PCB_LA
*/
buildCopperItemClearances( aZone, aLayer, noConnectionPads, clearanceHoles );
for( PAD* pad : thermalConnectionPads )
addHoleKnockout( pad, 0, clearanceHoles );
DUMP_POLYS_TO_COPPER_LAYER( clearanceHoles, In3_Cu, wxT( "clearance-holes" ) );
if( m_progressReporter && m_progressReporter->IsCancelled() )
@ -1594,6 +1590,9 @@ bool ZONE_FILLER::fillCopperZone( const ZONE* aZone, PCB_LAYER_ID aLayer, PCB_LA
* islands
*/
for( PAD* pad : thermalConnectionPads )
addHoleKnockout( pad, 0, clearanceHoles );
aFillPolys.BooleanIntersection( aMaxExtents, SHAPE_POLY_SET::PM_FAST );
DUMP_POLYS_TO_COPPER_LAYER( aFillPolys, In16_Cu, wxT( "after-trim-to-outline" ) );
aFillPolys.BooleanSubtract( clearanceHoles, SHAPE_POLY_SET::PM_FAST );