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
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-05-18 14:27:52 +0400
committerTon Roosendaal <ton@blender.org>2005-05-18 14:27:52 +0400
commit7018576bfd1a0e55346896844fc0f42f83be144e (patch)
treebde7aec841c4ef9f309799bac06cb84cdc03ed5c
parent704867c4c9e2d2b6b218afb84b260fdb64f17f28 (diff)
Bugfix #2576
The ALT+F "Beauty Fill" could crash, for example on the already legendary monkey head CTRL+T,J test. :) Found out there was a necessary check for edge/face selection flags missing
-rw-r--r--source/blender/src/editmesh_tools.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/editmesh_tools.c b/source/blender/src/editmesh_tools.c
index 53159d07281..63e78ac8f75 100644
--- a/source/blender/src/editmesh_tools.c
+++ b/source/blender/src/editmesh_tools.c
@@ -1994,6 +1994,7 @@ static int collect_quadedges(EVPTuple *efaa, EditEdge *eed, EditFace *efa)
eed->vn= (EditVert *) (&efaa[i]);
i++;
}
+
eed= eed->next;
}
@@ -2360,6 +2361,8 @@ void beauty_fill(void)
free_tagged_facelist(em->faces.first);
if(onedone==0) break;
+
+ EM_select_flush(); // new edges/faces were added
}
MEM_freeN(efaar);