Initialize area check
Ensure that the max_poly set is zero before using
This commit is contained in:
parent
77cd56fbd3
commit
2a9d7314ca
|
@ -1207,7 +1207,7 @@ void SHAPE_POLY_SET::unfractureSingle( SHAPE_POLY_SET::POLYGON& aPoly )
|
||||||
int outline = -1;
|
int outline = -1;
|
||||||
|
|
||||||
POLYGON result;
|
POLYGON result;
|
||||||
double max_poly;
|
double max_poly = 0.0;
|
||||||
|
|
||||||
while( queue.size() )
|
while( queue.size() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue