diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-07-01 09:58:28 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-07-01 09:58:28 +0400 |
commit | 1f2c93f9f783a2b0c2fb6ce42e30325a25d58265 (patch) | |
tree | 415a4e07803870cb33c79161799fe20099105fb9 /source/blender/editors/object/object_relations.c | |
parent | 415761d508b06aabb4aba69cdaaf6186fda4e14a (diff) |
Fix #27816: Outliner does not update when parents are cleared
Added NC_OBJECT|ND_PARENT notifier to OBJECT_OT_parent_clear operator.
Diffstat (limited to 'source/blender/editors/object/object_relations.c')
-rw-r--r-- | source/blender/editors/object/object_relations.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c index aa2e6d2c145..f3b67867d7f 100644 --- a/source/blender/editors/object/object_relations.c +++ b/source/blender/editors/object/object_relations.c @@ -446,6 +446,7 @@ static int parent_clear_exec(bContext *C, wmOperator *op) DAG_scene_sort(bmain, scene); DAG_ids_flush_update(bmain, 0); WM_event_add_notifier(C, NC_OBJECT|ND_TRANSFORM, NULL); + WM_event_add_notifier(C, NC_OBJECT|ND_PARENT, NULL); return OPERATOR_FINISHED; } |