Fix #104947: Missing depsgraph update on UV map deletion

Since changing UV map deletion to be handled via the attribute api,
the object wasn't tagged for depsgraph updating.

Pull Request #105040
This commit is contained in:
2023-02-21 19:27:23 +01:00
committed by Martijn Versteegh
parent e28a9a87c9
commit 6693c50ace

View File

@@ -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;
}