diff options
author | Ton Roosendaal <ton@blender.org> | 2004-10-31 02:53:27 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-10-31 02:53:27 +0400 |
commit | e82d208b1c534093b92f0fc95f83dc8c4563345f (patch) | |
tree | bcc7da3a17c3677edf21dd38501f9c86723cd45e /source | |
parent | 357325250862a50407fe19f9bd6a7feda708a6db (diff) |
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.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/intern/scanfill.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/scanfill.c b/source/blender/blenlib/intern/scanfill.c index bfa9c9ddf58..1f64ffbd79f 100644 --- a/source/blender/blenlib/intern/scanfill.c +++ b/source/blender/blenlib/intern/scanfill.c @@ -717,8 +717,9 @@ void scanfill(PolyFill *pf) while(sc->first) { /* for as long there are edges */ ed1= sc->first; 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) { /* printf("Fill error: endless loop. Escaped at vert %d, tot: %d.\n", a, verts); */ a= verts; |