diff options
-rw-r--r-- | source/blender/editors/space_outliner/outliner_edit.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_edit.c b/source/blender/editors/space_outliner/outliner_edit.c index 562cbf45e86..eb910b0b0b5 100644 --- a/source/blender/editors/space_outliner/outliner_edit.c +++ b/source/blender/editors/space_outliner/outliner_edit.c @@ -500,7 +500,7 @@ static int outliner_toggle_renderability_exec(bContext *C, wmOperator *UNUSED(op outliner_do_object_operation(C, scene, soops, &soops->tree, object_toggle_renderability_cb); - ED_region_tag_redraw(ar); + WM_event_add_notifier(C, NC_SCENE|ND_OB_RENDER, scene); return OPERATOR_FINISHED; } diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index a040c63b2ab..ebbe28e62fa 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -265,6 +265,7 @@ static void outliner_main_area_listener(ARegion *ar, wmNotifier *wmn) case NC_ANIMATION: switch(wmn->data) { case ND_NLA_ACTCHANGE: + case ND_KEYFRAME: ED_region_tag_redraw(ar); break; case ND_ANIMCHAN: |