From 9c9209f7e59d1561935ddeb7f5f42181ac965a86 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 16 Jan 2010 22:56:52 +0000 Subject: resizing any area/region would redraw all views in every window. This means a large scene will make blender resize the border between the timeline and the graph editor slow since it redraws the 3d view for each update. edited the operators to only redraw whats needed. since tons away IFDEF'd this incse it needs to be reverted. --- source/blender/editors/screen/area.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/screen/area.c') diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index bf4dba5a4fe..56dd9b4a361 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -121,10 +121,12 @@ void ED_region_do_listen(ARegion *ar, wmNotifier *note) case NC_WINDOW: ED_region_tag_redraw(ar); break; +#ifndef WM_FAST_DRAW case NC_SCREEN: if(note->action==NA_EDITED) ED_region_tag_redraw(ar); /* pass on */ +#endif default: if(ar->type && ar->type->listener) ar->type->listener(ar, note); -- cgit v1.2.3