Must use GetEffectivePenWidth for output.

Fixes https://gitlab.com/kicad/code/kicad/issues/9504
This commit is contained in:
Jeff Young 2021-11-01 14:48:18 +00:00
parent f4cd57f815
commit cec788d454
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ void LIB_SHAPE::print( const RENDER_SETTINGS* aSettings, const wxPoint& aOffset,
void* aData, const TRANSFORM& aTransform )
{
bool forceNoFill = static_cast<bool>( aData );
int penWidth = GetPenWidth();
int penWidth = GetEffectivePenWidth( aSettings );
if( forceNoFill && IsFilled() && penWidth == 0 )
return;