[Bf-blender-cvs] [a15ae56] master: Fix T39743: Crash when deleting faces in with new autosmooth.

Bastien Montagne noreply at git.blender.org
Tue Apr 15 16:25:05 CEST 2014


Commit: a15ae564217f2b47848c337e477068be0e150973
Author: Bastien Montagne
Date:   Tue Apr 15 16:15:43 2014 +0200
https://developer.blender.org/rBa15ae564217f2b47848c337e477068be0e150973

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

Odd I did not catch this one... :/

===================================================================

M	source/blender/bmesh/intern/bmesh_core.c

===================================================================

diff --git a/source/blender/bmesh/intern/bmesh_core.c b/source/blender/bmesh/intern/bmesh_core.c
index a06921b..57ab1a4 100644
--- a/source/blender/bmesh/intern/bmesh_core.c
+++ b/source/blender/bmesh/intern/bmesh_core.c
@@ -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);




More information about the Bf-blender-cvs mailing list