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:
Bastien Montagne 2015-03-29 13:14:59 +02:00
parent 47c1112e6e
commit 70d9c01325
Notes: blender-bot 2023-02-14 09:19:07 +01:00
Referenced by issue #44162, modifier's icons toggle mismatch (visibility, render)
1 changed files with 1 additions and 2 deletions

View File

@ -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)