Minor performance improvements.
Fixes https://gitlab.com/kicad/code/kicad/issues/7720
This commit is contained in:
parent
c716313a24
commit
d523129929
|
@ -642,7 +642,7 @@ bool DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadAgainstItem( PAD* pad, SHAPE* pa
|
|||
|
||||
void DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadClearances( )
|
||||
{
|
||||
const int delta = 25; // This is the number of tests between 2 calls to the progress bar
|
||||
const int delta = 50; // This is the number of tests between 2 calls to the progress bar
|
||||
|
||||
size_t count = 0;
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ private:
|
|||
bool DRC_TEST_PROVIDER_SILK_CLEARANCE::Run()
|
||||
{
|
||||
// This is the number of tests between 2 calls to the progress bar
|
||||
const int delta = 250;
|
||||
const int delta = 1000;
|
||||
|
||||
m_board = m_drcEngine->GetBoard();
|
||||
|
||||
|
|
Loading…
Reference in New Issue