Fix T81896: Outliner missing redraw after "Set Parent (Without Inverse)"

Outliners listener (outliner_main_region_listener) needs ND_PARENT
notifier to redraw, the parenting operator only spawned ND_TRANSFORM
(which doesnt do a redraw).

Maniphest Tasks: T81896

Differential Revision: https://developer.blender.org/D9295
This commit is contained in:
Philipp Oeser 2020-10-21 11:04:39 +02:00
parent 9daf668991
commit 23ec1f90e7
Notes: blender-bot 2023-02-14 05:36:11 +01:00
Referenced by issue #81896, Outliner missing redraw after "Set Parent (Without Inverse)"
1 changed files with 1 additions and 0 deletions

View File

@ -1244,6 +1244,7 @@ static int parent_noinv_set_exec(bContext *C, wmOperator *op)
DEG_relations_tag_update(bmain);
WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, NULL);
WM_event_add_notifier(C, NC_OBJECT | ND_PARENT, NULL);
return OPERATOR_FINISHED;
}