← Back to team overview

kicad-developers team mailing list archive

small patch to check zone on DRC

 

Hi all,

I propose this patch to avoid to refill all zones, when the checkbox on zone isn't checked.

*** drc.cpp	Wed Jun 24 07:09:21 2009
--- drc-cf.cpp	Wed Jun 24 07:11:12 2009
***************
*** 214,221 ****
testTracks();
  
// Before testing segments and unconnected, refill all zones:
! // this is a good caution, because filled areas can be outdated.
! m_mainWindow->Fill_All_Zones( false );
  
// test zone clearances to other zones, pads, tracks, and vias
testZones( m_doZonesTest );
--- 214,222 ----
testTracks();
  
// Before testing segments and unconnected, refill all zones:
! // this is a good caution, because filled areas can be outdated, do it only, if the test on zone is checked
! if(m_doZonesTest)
! m_mainWindow->Fill_All_Zones( false );
  
// test zone clearances to other zones, pads, tracks, and vias
testZones( m_doZonesTest );

because, I run the drc before fill all zones and it very tiring to delete all after drc.

++







Follow ups