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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user