Don't plot polygon borders when they are disabled.

This commit is contained in:
Alex Shvartzkop
2024-01-15 22:35:35 +03:00
parent 57bc443f0b
commit 82a0227c20
3 changed files with 10 additions and 1 deletions
+3
View File
@@ -561,6 +561,9 @@ void PS_PLOTTER::Arc( const VECTOR2D& aCenter, const EDA_ANGLE& aStartAngle,
void PS_PLOTTER::PlotPoly( const std::vector<VECTOR2I>& aCornerList, FILL_T aFill, int aWidth,
void* aData )
{
if( aFill == FILL_T::NO_FILL && aWidth <= 0 )
return;
if( aCornerList.size() <= 1 )
return;