Initialize area check

Ensure that the max_poly set is zero before using
This commit is contained in:
Seth Hillbrand 2022-05-26 08:19:16 -07:00
parent 77cd56fbd3
commit 2a9d7314ca
1 changed files with 1 additions and 1 deletions
libs/kimath/src/geometry

View File

@ -1207,7 +1207,7 @@ void SHAPE_POLY_SET::unfractureSingle( SHAPE_POLY_SET::POLYGON& aPoly )
int outline = -1;
POLYGON result;
double max_poly;
double max_poly = 0.0;
while( queue.size() )
{