diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-10-02 18:40:53 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-10-02 18:40:53 +0400 |
commit | e1b5daa36feb25e65a0311a2ec7cf69611d39022 (patch) | |
tree | a1905b8ba79660eb02b97fa9c3203d602f3c631f /source/blender/editors/object/object_relations.c | |
parent | 9aa2bde26b833d173166390253fb088d15e909b2 (diff) |
Fix #24077: convert operator not updating outliner. Note about notifiers:
NC_SCENE|NC_OBJECT does not work, you can only have one NC/ND/NA in a
single notifier, if you need to do both, use two notifiers.
Diffstat (limited to 'source/blender/editors/object/object_relations.c')
-rw-r--r-- | source/blender/editors/object/object_relations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c index 2a0289ca8b3..11175958fba 100644 --- a/source/blender/editors/object/object_relations.c +++ b/source/blender/editors/object/object_relations.c @@ -1111,7 +1111,7 @@ static int move_to_layer_exec(bContext *C, wmOperator *op) /* warning, active object may be hidden now */ - WM_event_add_notifier(C, NC_SCENE|NC_OBJECT|ND_DRAW, scene); /* is NC_SCENE needed ? */ + WM_event_add_notifier(C, NC_OBJECT|ND_DRAW, scene); WM_event_add_notifier(C, NC_SCENE|ND_LAYER_CONTENT, scene); DAG_scene_sort(bmain, scene); |