Improvements to DRC marker clearance paths.

Reverts most of the fix for 9778. Highlighting
multiple markers creates confusion in both the
status bar and how the associated clearance paths
are shown.

Also adds more clearance path graphics to make
the need for a fix to 9778 somewhat less acute.

Also makes clearance graphics scale with marker.
This commit is contained in:
Jeff Young
2025-10-10 21:38:46 +01:00
parent 516a604864
commit 814f65934f
51 changed files with 512 additions and 562 deletions
@@ -593,7 +593,7 @@ bool WriteDRCReport( BOARD* aBoard, const wxString& aFileName, EDA_UNITS aUnits,
engine->SetViolationHandler(
[&]( const std::shared_ptr<DRC_ITEM>& aItem, const VECTOR2D& aPos, int aLayer,
const std::vector<PCB_SHAPE>& aShapes )
const std::function<void( PCB_MARKER* )>& aPathGenerator )
{
if( aItem->GetErrorCode() == DRCE_MISSING_FOOTPRINT
|| aItem->GetErrorCode() == DRCE_DUPLICATE_FOOTPRINT