mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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:
parent
4fe62f7902
commit
c0eb6dd64e
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue