Merge branch 'master' into blender2.8
[blender.git] / source / blender / python / bmesh / bmesh_py_api.c
index d7324eabb6c58610d938a35f6370beeb632dd8b5..7669f7eb1fda875c8f3a5f75ca8d1f9af9c71404 100644 (file)
@@ -156,11 +156,6 @@ static PyObject *bpy_bm_update_edit_mesh(PyObject *UNUSED(self), PyObject *args,
 
        {
                extern void EDBM_update_generic(BMEditMesh *em, const bool do_tessface, const bool is_destructive);
-               BMEditMesh *em = me->edit_btmesh;
-               BMesh *bm = em->bm;
-
-               /* python won't ensure matching uv/mtex */
-               BM_mesh_cd_validate(bm);
 
                EDBM_update_generic(me->edit_btmesh, do_tessface, is_destructive);
        }