fix for mistake in r56903
authorCampbell Barton <ideasman42@gmail.com>
Sun, 19 May 2013 08:46:17 +0000 (08:46 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 19 May 2013 08:46:17 +0000 (08:46 +0000)
source/blender/blenkernel/intern/pbvh_bmesh.c

index 8e98cc170e0469998eafede9e86bffc4126e3341..d05f150e47c93ac9e718930a0947830a53abb82f 100644 (file)
@@ -865,6 +865,7 @@ static void pbvh_bmesh_collapse_edge(PBVH *bvh, BMEdge *e, BMVert *v1,
 
                /* Get vertices and edges of face */
                BLI_assert(f_del->len == 3);
+               l_iter = BM_FACE_FIRST_LOOP(f_del);
                v_tri[0] = l_iter->v; e_tri[0] = l_iter->e; l_iter = l_iter->next;
                v_tri[1] = l_iter->v; e_tri[1] = l_iter->e; l_iter = l_iter->next;
                v_tri[2] = l_iter->v; e_tri[2] = l_iter->e;