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