Browse Source

Honour stroke colour in LIB_SHAPE.

Fixes https://gitlab.com/kicad/code/kicad/issues/11955
7.0
Jeff Young 3 years ago
parent
commit
1ce3744c70
  1. 5
      eeschema/lib_shape.cpp

5
eeschema/lib_shape.cpp

@ -276,7 +276,10 @@ void LIB_SHAPE::print( const RENDER_SETTINGS* aSettings, const VECTOR2I& aOffset
VECTOR2I pt1 = aTransform.TransformCoordinate( m_start ) + aOffset;
VECTOR2I pt2 = aTransform.TransformCoordinate( m_end ) + aOffset;
VECTOR2I c;
COLOR4D color = aSettings->GetLayerColor( LAYER_DEVICE );
COLOR4D color = GetStroke().GetColor();
if( color == COLOR4D::UNSPECIFIED )
color = aSettings->GetLayerColor( LAYER_DEVICE );
unsigned ptCount = 0;
VECTOR2I* buffer = nullptr;

Loading…
Cancel
Save