From 89101d51bc7fb3931de29248d57bffb2530d58d2 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 15 Dec 2008 19:41:46 +0000 Subject: 2.5 Undo last commit to save screen redraws on are switching, seems some initialize is missing. --- source/blender/editors/screen/area.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/screen') diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 1e8eb92aa30..dfa6e1095f5 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -589,7 +589,7 @@ static char *windowtype_pup(void) static void spacefunc(struct bContext *C, void *arg1, void *arg2) { newspace(C, C->area, C->area->butspacetype); - WM_event_add_notifier(C, WM_NOTE_AREA_REDRAW, 0, NULL); + WM_event_add_notifier(C, WM_NOTE_SCREEN_CHANGED, 0, NULL); } /* returns offset for next button in header */ -- cgit v1.2.3