diff --git a/pcbnew/pcb_painter.cpp b/pcbnew/pcb_painter.cpp index 302def28a4..a779796146 100644 --- a/pcbnew/pcb_painter.cpp +++ b/pcbnew/pcb_painter.cpp @@ -642,7 +642,8 @@ void PCB_PAINTER::draw( const PCB_TRACK* aTrack, int aLayer ) } // Clearance lines - if( pcbconfig() && pcbconfig()->m_Display.m_TrackClearance == SHOW_WITH_VIA_ALWAYS ) + if( pcbconfig() && pcbconfig()->m_Display.m_TrackClearance == SHOW_WITH_VIA_ALWAYS + && !m_pcbSettings.m_isPrinting ) { int clearance = aTrack->GetOwnClearance( m_pcbSettings.GetActiveLayer() ); @@ -684,7 +685,8 @@ void PCB_PAINTER::draw( const PCB_ARC* aArc, int aLayer ) } // Clearance lines - if( pcbconfig() && pcbconfig()->m_Display.m_TrackClearance == SHOW_WITH_VIA_ALWAYS ) + if( pcbconfig() && pcbconfig()->m_Display.m_TrackClearance == SHOW_WITH_VIA_ALWAYS + && !m_pcbSettings.m_isPrinting ) { int clearance = aArc->GetOwnClearance( m_pcbSettings.GetActiveLayer() ); @@ -855,7 +857,8 @@ void PCB_PAINTER::draw( const PCB_VIA* aVia, int aLayer ) // Clearance lines if( pcbconfig() && pcbconfig()->m_Display.m_TrackClearance == SHOW_WITH_VIA_ALWAYS - && aLayer != LAYER_VIA_HOLES ) + && aLayer != LAYER_VIA_HOLES + && !m_pcbSettings.m_isPrinting ) { PCB_LAYER_ID activeLayer = m_pcbSettings.GetActiveLayer(); double radius; @@ -1263,7 +1266,8 @@ void PCB_PAINTER::draw( const PAD* aPad, int aLayer ) } if( pcbconfig() && pcbconfig()->m_Display.m_PadClearance - && ( aLayer == LAYER_PAD_FR || aLayer == LAYER_PAD_BK || aLayer == LAYER_PADS_TH ) ) + && ( aLayer == LAYER_PAD_FR || aLayer == LAYER_PAD_BK || aLayer == LAYER_PADS_TH ) + && !m_pcbSettings.m_isPrinting ) { /* Showing the clearance area is not obvious. * - A pad can be removed from some copper layers.