2.5
authorTon Roosendaal <ton@blender.org>
Mon, 12 Jan 2009 09:04:53 +0000 (09:04 +0000)
committerTon Roosendaal <ton@blender.org>
Mon, 12 Jan 2009 09:04:53 +0000 (09:04 +0000)
Quick fix; redraw 3d view when using header buttons

source/blender/editors/space_view3d/view3d_header.c

index ea886929677cfdf0558f0fb6dad3fd89d019053e..2d6ad9934d70ecc1102fb65f284f04789867a6e6 100644 (file)
@@ -5342,6 +5342,9 @@ static void do_view3d_buttons(bContext *C, void *arg, int event)
        case B_HOME:
                WM_operator_name_call(C, "VIEW3D_OT_viewhome", WM_OP_EXEC_REGION_WIN, NULL, NULL);
                break;
+       case B_REDR:
+               ED_area_tag_redraw(sa);
+               break;
        case B_SCENELOCK:
                if(v3d->scenelock) {
                        v3d->lay= scene->lay;