LIB_SHAPE default line style is SOLID, not DASHED.

(Copy/paste error from SCH_SHAPE.)

Fixes https://gitlab.com/kicad/code/kicad/issues/11527
This commit is contained in:
Jeff Young 2022-05-02 17:17:50 +01:00
parent 036d283433
commit 585ea85f95
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ void LIB_SHAPE::Plot( PLOTTER* aPlotter, bool aBackground, const VECTOR2I& aOffs
color = aPlotter->RenderSettings()->GetLayerColor( LAYER_DEVICE ); color = aPlotter->RenderSettings()->GetLayerColor( LAYER_DEVICE );
if( lineStyle == PLOT_DASH_TYPE::DEFAULT ) if( lineStyle == PLOT_DASH_TYPE::DEFAULT )
lineStyle = PLOT_DASH_TYPE::DASH; lineStyle = PLOT_DASH_TYPE::SOLID;
if( m_fill == FILL_T::FILLED_SHAPE ) if( m_fill == FILL_T::FILLED_SHAPE )
fill = m_fill; fill = m_fill;