bug fix with act fact crasher

This commit is contained in:
Joseph Eagar
2011-03-29 05:50:48 +00:00
parent 7d43a48993
commit 436dc57440

View File

@@ -548,6 +548,9 @@ void BM_Kill_Face(BMesh *bm, BMFace *f) {
BLI_mempool_free(bm->looplistpool, ls);
}
if (bm->act_face == f)
bm->act_face = NULL;
bm->totface--;
BM_remove_selection(bm, f);
if (f->head.data)