7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-20 21:11:43 +00:00

Printing should never hide small elements

Since it is effectively infinite resolution, pass the vectors to the
printer and let it decide if there should be a dot there or not.  Hiding
based on perspective is a screen optimization

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20226
This commit is contained in:
Seth Hillbrand 2025-03-06 12:17:19 -08:00
parent a1b78d170d
commit 8e048d0c42

View File

@ -1790,6 +1790,9 @@ double PAD::ViewGetLOD( int aLayer, const KIGFX::VIEW* aView ) const
if( aLayer == LAYER_PAD_HOLEWALLS )
aView->Update( this, KIGFX::REPAINT );
if( renderSettings.IsPrinting() )
return LOD_SHOW;
VECTOR2L padSize = GetShape( pcbLayer ) != PAD_SHAPE::CUSTOM
? VECTOR2L( GetSize( pcbLayer ) ) : GetBoundingBox().GetSize();