diff --git a/pcbnew/class_track.cpp b/pcbnew/class_track.cpp index 65f7401cb8..40f0fa6391 100644 --- a/pcbnew/class_track.cpp +++ b/pcbnew/class_track.cpp @@ -874,8 +874,10 @@ void SEGVIA::Draw( EDA_DRAW_PANEL* panel, wxDC* DC, int draw_mode, const wxPoint } } - if( DisplayOpt.ShowTrackClearanceMode == SHOW_CLEARANCE_ALWAYS ) + if( ShowClearance( this ) ) + { GRCircle( panel->GetClipBox(), DC, m_Start + aOffset, radius + GetClearance(), 0, color ); + } // for Micro Vias, draw a partial cross : X on component layer, or + on copper layer // (so we can see 2 superimposed microvias ):