Fix footprint rule and zone area anchors
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12575
This commit is contained in:
parent
40ad5b6de3
commit
f818f3a445
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue