Don't allow 0 line-width for unfilled shapes.

Fixes https://gitlab.com/kicad/code/kicad/issues/12010
This commit is contained in:
Jeff Young
2022-07-16 16:26:05 +01:00
parent 27869b1a37
commit d0547cbde7
2 changed files with 44 additions and 13 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ void EDA_SHAPE::flip( const VECTOR2I& aCentre, bool aFlipLeftRight )
void EDA_SHAPE::RebuildBezierToSegmentsPointsList( int aMinSegLen )
{
// Has meaning only for S_CURVE DRAW_SEGMENT shape
// Has meaning only for SHAPE_T::BEZIER
if( m_shape != SHAPE_T::BEZIER )
{
m_bezierPoints.clear();