From dc1f3683c945eeda1d96306c6fcb4e20459067a0 Mon Sep 17 00:00:00 2001 From: Martijn Versteegh Date: Tue, 21 Feb 2023 19:03:07 +0100 Subject: [PATCH] Fix #104947 : Tag mesh for depsgraph update on UV map deletion Since the uvmap is deleted using the attribute api the object wasn't tagged for updating. --- source/blender/editors/mesh/mesh_data.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/blender/editors/mesh/mesh_data.cc b/source/blender/editors/mesh/mesh_data.cc index 5f9af148015..dd3556b4986 100644 --- a/source/blender/editors/mesh/mesh_data.cc +++ b/source/blender/editors/mesh/mesh_data.cc @@ -645,6 +645,9 @@ static int mesh_uv_texture_remove_exec(bContext *C, wmOperator *op) WM_event_add_notifier(C, NC_SCENE | ND_TOOLSETTINGS, nullptr); } + DEG_id_tag_update(&me->id, ID_RECALC_GEOMETRY); + WM_main_add_notifier(NC_GEOM | ND_DATA, me); + return OPERATOR_FINISHED; } -- 2.30.2