Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2004-10-31 02:53:27 +0400
committerTon Roosendaal <ton@blender.org>2004-10-31 02:53:27 +0400
commite82d208b1c534093b92f0fc95f83dc8c4563345f (patch)
treebcc7da3a17c3677edf21dd38501f9c86723cd45e /source
parent357325250862a50407fe19f9bd6a7feda708a6db (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.c5
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;