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
@@ -391,6 +391,9 @@ void PDF_PLOTTER::PlotPoly( const std::vector<VECTOR2I>& aCornerList, FILL_T aFi
{
wxASSERT( m_workFile );
if( aFill == FILL_T::NO_FILL && aWidth <= 0 )
return;
if( aCornerList.size() <= 1 )
return;