Move EDA_ITEM bounding boxes to BOX2I.

This commit is contained in:
Jeff Young
2022-08-31 10:16:55 +01:00
parent 121fad63ab
commit 2dc6300501
97 changed files with 338 additions and 397 deletions
+3 -3
View File
@@ -133,9 +133,9 @@ void BOARD_COMMIT::dirtyIntersectingZones( BOARD_ITEM* item )
}
else
{
BOARD* board = static_cast<BOARD*>( m_toolMgr->GetModel() );
EDA_RECT bbox = item->GetBoundingBox();
LSET layers = item->GetLayerSet();
BOARD* board = static_cast<BOARD*>( m_toolMgr->GetModel() );
BOX2I bbox = item->GetBoundingBox();
LSET layers = item->GetLayerSet();
if( layers.test( Edge_Cuts ) || layers.test( Margin ) )
layers = LSET::PhysicalLayersMask();