diff --git a/pcbnew/footprint.cpp b/pcbnew/footprint.cpp index c96917bb94..70d92f1041 100644 --- a/pcbnew/footprint.cpp +++ b/pcbnew/footprint.cpp @@ -2515,6 +2515,8 @@ double FOOTPRINT::CoverageRatio( const GENERAL_COLLECTOR& aCollector ) const } } + coveredRegion.BooleanIntersection( footprintRegion, SHAPE_POLY_SET::PM_FAST ); + double footprintRegionArea = polygonArea( footprintRegion ); double uncoveredRegionArea = footprintRegionArea - polygonArea( coveredRegion ); double coveredArea = footprintRegionArea - uncoveredRegionArea;