Implement a more durable zone bounding box caching strategy.

Fixes https://gitlab.com/kicad/code/kicad/issues/10821
This commit is contained in:
Jeff Young
2022-10-01 22:10:43 +01:00
parent 6d298b661a
commit e49de68a59
12 changed files with 55 additions and 37 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ void BOARD_COMMIT::dirtyIntersectingZones( BOARD_ITEM* item )
continue;
if( ( zone->GetLayerSet() & layers ).any()
&& zone->GetCachedBoundingBox().Intersects( bbox ) )
&& zone->GetBoundingBox().Intersects( bbox ) )
{
zoneFillerTool->DirtyZone( zone );
}