Initialize area check
Ensure that the max_poly set is zero before using
This commit is contained in:
parent
77cd56fbd3
commit
2a9d7314ca
libs/kimath/src/geometry
|
@ -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() )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue