From 42dfdf8c383854cbe883f613120469c44578bb63 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Mon, 31 Jan 2022 16:25:20 +0100 Subject: [PATCH] PCB_CONTROL::unfilledZoneCheck(): skip rule areas: they are not filled by definition. Fixes #10691 https://gitlab.com/kicad/code/kicad/issues/10691 --- pcbnew/tools/pcb_control.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/tools/pcb_control.cpp b/pcbnew/tools/pcb_control.cpp index 454e120796..3820213148 100644 --- a/pcbnew/tools/pcb_control.cpp +++ b/pcbnew/tools/pcb_control.cpp @@ -201,7 +201,7 @@ void PCB_CONTROL::unfilledZoneCheck() for( const ZONE* zone : board()->Zones() ) { - if( !zone->IsFilled() ) + if( !zone->GetIsRuleArea() && !zone->IsFilled() ) { unfilledZones = true; break; @@ -229,7 +229,7 @@ void PCB_CONTROL::unfilledZoneCheck() "if you wish to see all fills." ), KeyNameFromKeyCode( PCB_ACTIONS::zoneFillAll.GetHotKey() ) ); - infobar->ShowMessageFor( msg, 10000, wxICON_WARNING ); + infobar->ShowMessageFor( msg, 5000, wxICON_WARNING ); } }