Split Normals I (2/5): Add basic BMesh support of split normals.
[blender.git] / source / blender / bmesh / tools / bmesh_decimate_collapse.c
index 00915d60428c7c8c148056426872c622fb4fd58d..ef628a1060775b2b51adbd839c6f06723bc7f779 100644 (file)
@@ -1006,7 +1006,7 @@ void BM_mesh_decimate_collapse(BMesh *bm, const float factor, float *vweights, c
        bm_decim_build_edge_cost(bm, vquadrics, vweights, eheap, eheap_table);
 
        face_tot_target = bm->totface * factor;
-       bm->elem_index_dirty |= BM_FACE | BM_EDGE | BM_VERT;
+       bm->elem_index_dirty |= BM_FACE | BM_LOOP | BM_EDGE | BM_VERT;
 
 
 #ifdef USE_CUSTOMDATA