mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T44162: Outliner: modifier's icons toggle update issue
Use same notifier for button callback as the one used in matching outliner operator...
This commit is contained in:
parent
47c1112e6e
commit
70d9c01325
1 changed files with 1 additions and 2 deletions
|
|
@ -290,8 +290,7 @@ static void restrictbutton_modifier_cb(bContext *C, void *UNUSED(poin), void *po
|
|||
Object *ob = (Object *)poin2;
|
||||
|
||||
DAG_id_tag_update(&ob->id, OB_RECALC_DATA);
|
||||
|
||||
WM_event_add_notifier(C, NC_OBJECT | ND_DRAW, ob);
|
||||
WM_event_add_notifier(C, NC_OBJECT | ND_MODIFIER, ob);
|
||||
}
|
||||
|
||||
static void restrictbutton_bone_visibility_cb(bContext *C, void *poin, void *poin2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue