Skip to content
Snippets Groups Projects
Commit e82d208b authored by Ton Roosendaal's avatar Ton Roosendaal
Browse files

ESC during scanfill (triangulate) delivers corrupted memory

(well, not on OSX to be noticed :). Discovered thanks to adding filling
of curves in Solid display, and bugreport of intrr that ESC in grabbing
curve gives weird corruption.
parent 35732525
No related branches found
No related tags found
No related merge requests found
...@@ -717,8 +717,9 @@ void scanfill(PolyFill *pf) ...@@ -717,8 +717,9 @@ void scanfill(PolyFill *pf)
while(sc->first) { /* for as long there are edges */ while(sc->first) { /* for as long there are edges */
ed1= sc->first; ed1= sc->first;
ed2= ed1->next; ed2= ed1->next;
if(callLocalInterruptCallBack()) break; /* commented out... the ESC here delivers corrupted memory (and doesnt work during grab) */
/* if(callLocalInterruptCallBack()) break; */
if(totface>maxface) { if(totface>maxface) {
/* printf("Fill error: endless loop. Escaped at vert %d, tot: %d.\n", a, verts); */ /* printf("Fill error: endless loop. Escaped at vert %d, tot: %d.\n", a, verts); */
a= verts; a= verts;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment