Fix for outliner notifiers for inserting keyframes on visibility/selectivity/renderability

flags and toggling renderability from shortcut.
This commit is contained in:
Sergey Sharybin
2012-02-12 18:57:05 +00:00
parent 39daef28a1
commit 875f616ab8
2 changed files with 2 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -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: