7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-20 21:31:42 +00:00

Be sure to clear hit cache

When re-running the DRC creepage check, we need to ensure that the
element-element hittest set is cleared to report the same errors again

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20048
This commit is contained in:
Seth Hillbrand 2025-03-12 11:47:16 -07:00
parent 96794e94e3
commit 1c245ad01e

View File

@ -76,6 +76,7 @@ private:
bool DRC_TEST_PROVIDER_CREEPAGE::Run()
{
m_board = m_drcEngine->GetBoard();
m_reportedPairs.clear();
if( !m_drcEngine->IsErrorLimitExceeded( DRCE_CREEPAGE ) )
{