Fix footprint rule and zone area anchors

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12575
This commit is contained in:
aris-kimi 2022-10-05 22:01:55 +03:00 committed by Seth Hillbrand
parent 40ad5b6de3
commit f818f3a445
1 changed files with 2 additions and 2 deletions

View File

@ -696,7 +696,7 @@ void PCB_GRID_HELPER::computeAnchors( BOARD_ITEM* aItem, const VECTOR2I& aRefPos
for( auto iter = outline->CIterateWithHoles(); iter; iter++ )
{
addAnchor( *iter, CORNER, aItem );
addAnchor( *iter, CORNER | SNAPPABLE, aItem );
lc.Append( *iter );
}
@ -714,7 +714,7 @@ void PCB_GRID_HELPER::computeAnchors( BOARD_ITEM* aItem, const VECTOR2I& aRefPos
for( auto iter = outline->CIterateWithHoles(); iter; iter++ )
{
addAnchor( *iter, CORNER, aItem );
addAnchor( *iter, CORNER | SNAPPABLE, aItem );
lc.Append( *iter );
}