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:
parent
a1b78d170d
commit
8e048d0c42
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user