Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-02-12 22:57:05 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-02-12 22:57:05 +0400
commit875f616ab8c0856bef287d1041141ee2f4d986aa (patch)
tree5d60104f814028f052722aff6fdc5c107d134be5 /source/blender/editors/space_outliner
parent39daef28a1eb3c42db886df229851c860054bc7e (diff)
Fix for outliner notifiers for inserting keyframes on visibility/selectivity/renderability
flags and toggling renderability from shortcut.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_edit.c2
-rw-r--r--source/blender/editors/space_outliner/space_outliner.c1
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: