more glitch fix

This commit is contained in:
Zeno Rogue 2018-09-07 17:45:21 +02:00
parent 6f3fcb2694
commit 4ae9156c30
1 changed files with 2 additions and 0 deletions

View File

@ -1505,6 +1505,8 @@ void finishshape() {
if(s == 3)
last->intester = hpxy(.2, .2518);
// prevent zeros
last->intester = rgpushxto0(hpxy(1.4e-8, 1.7e-8)) * last->intester;
last->flags &=~ (POLY_BADCENTERIN | POLY_CENTERIN);