guard against double-finishshape

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:01 +02:00
1 parent 22837f9311
commit 9221a532f9
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -1882,6 +1882,7 @@ void finishshape() {
if(allminus || allplus) last->flags |= POLY_VCONVEX;
allshapes.push_back(last);
last = NULL;
/* if(isnan(area)) ;
else if(intval(hpc[last->s], hpc[last->e-1]) > 1e-6)