Fix #155698: Spreadsheet shows stale vertex group after Python removal

Missing `ID_RECALC_GEOMETRY` in `rna_Object_vgroup_clear`
(also add the appropriate ND_VERTEX_GROUP notifier)

Pull Request: https://projects.blender.org/blender/blender/pulls/155703
This commit is contained in:
Philipp Oeser 2026-03-16 13:59:57 +01:00 • committed by Philipp Oeser
parent 6aca594d18
commit 044b25a5f3

View file

@ -1958,7 +1958,9 @@ static void rna_Object_vgroup_clear(Object *ob, Main *bmain, ReportList *reports
BKE_object_defgroup_remove_all(ob);
DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY);
DEG_relations_tag_update(bmain);
WM_main_add_notifier(NC_GEOM | ND_VERTEX_GROUP, ob->data);
WM_main_add_notifier(NC_OBJECT | ND_DRAW, ob);
}