Adjust zones when moving footprint origin.
Fixes https://gitlab.com/kicad/code/kicad/issues/7825
This commit is contained in:
parent
22b4a74bfa
commit
0fde536223
|
@ -1533,6 +1533,12 @@ void FOOTPRINT::MoveAnchorPosition( const wxPoint& aMoveVector )
|
|||
}
|
||||
}
|
||||
|
||||
// Update the keepout zones
|
||||
for( ZONE* zone : Zones() )
|
||||
{
|
||||
zone->Move( moveVector );
|
||||
}
|
||||
|
||||
m_cachedBoundingBox.Move( moveVector );
|
||||
m_cachedVisibleBBox.Move( moveVector );
|
||||
m_cachedTextExcludedBBox.Move( moveVector );
|
||||
|
|
Loading…
Reference in New Issue