diff --git a/pcbnew/drc/drc_engine.cpp b/pcbnew/drc/drc_engine.cpp index c52bc9a210..45d4f8b9bb 100644 --- a/pcbnew/drc/drc_engine.cpp +++ b/pcbnew/drc/drc_engine.cpp @@ -1133,6 +1133,7 @@ DRC_CONSTRAINT DRC_ENGINE::EvalRules( DRC_CONSTRAINT_T aConstraintType, const BO if( localA > global || localB > global ) { + constraint.SetParentRule( nullptr ); constraint.SetName( m_msg ); constraint.m_Value.SetMin( clearance ); return constraint;