Fix unreported: Crash when removing lattice vertex group

This commit is contained in:
Dalai Felinto
2018-10-26 13:36:30 -03:00
parent 4af280ac90
commit 6d4e776711

View File

@@ -412,7 +412,7 @@ void BKE_object_defgroup_remove(Object *ob, bDeformGroup *defgroup)
else
object_defgroup_remove_object_mode(ob, defgroup);
BKE_mesh_batch_cache_dirty_tag(ob->data, BKE_MESH_BATCH_DIRTY_ALL);
BKE_object_batch_cache_dirty_tag(ob);
}
}