Fix T39743: Crash when deleting faces in with new autosmooth.

Odd I did not catch this one... :/
This commit is contained in:
Bastien Montagne 2014-04-15 16:15:43 +02:00
parent f270b34e99
commit a15ae56421
Notes: blender-bot 2023-02-14 10:48:27 +01:00
Referenced by issue #39743, Crash when deleting faces in with new autosmooth
1 changed files with 1 additions and 0 deletions

View File

@ -677,6 +677,7 @@ static void bm_kill_only_face(BMesh *bm, BMFace *f)
static void bm_kill_only_loop(BMesh *bm, BMLoop *l)
{
bm->totloop--;
bm->elem_index_dirty |= BM_LOOP;
if (l->head.data)
CustomData_bmesh_free_block(&bm->ldata, &l->head.data);