Enforce board-level hole to hole on diff pairs

Makes the router behave like the DRC

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21240
This commit is contained in:
Seth Hillbrand 2025-08-23 07:43:36 -07:00
parent 8acdcafe90
commit cac334bb45

View File

@ -861,7 +861,7 @@ bool PNS_KICAD_IFACE_BASE::ImportSizes( PNS::SIZES_SETTINGS& aSizes, PNS::ITEM*
holeToHoleMin = constraint.m_Value.Min();
}
aSizes.SetDiffPairHoleToHole( holeToHoleMin );
aSizes.SetDiffPairHoleToHole( std::max( holeToHoleMin, aSizes.GetHoleToHole() ) );
return true;
}