From f7755bdcecae95ef6794f4ef793c3a8a24eac709 Mon Sep 17 00:00:00 2001 From: Andrey Fedorushkov Date: Wed, 13 Jun 2012 17:32:43 +0400 Subject: [PATCH] pcbnew: show clearance when move or drag via --- pcbnew/class_track.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ):