Fix: Spreadsheet shows stale vertex group after Python removal part II

Followup to 044b25a5f3 which did it for `rna_Object_vgroup_clear`.
Now also do it for `rna_Object_vgroup_remove`.

Pull Request: https://projects.blender.org/blender/blender/pulls/155761
This commit is contained in:
Philipp Oeser 2026-03-17 11:46:16 +01:00 • committed by Philipp Oeser
parent 4fe62f7902
commit c0eb6dd64e

View file

@ -1946,7 +1946,9 @@ static void rna_Object_vgroup_remove(Object *ob,
BKE_object_defgroup_remove(ob, defgroup);
defgroup_ptr->invalidate();
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);
}