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:
authorCampbell Barton <ideasman42@gmail.com>2010-01-17 01:56:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-17 01:56:52 +0300
commit9c9209f7e59d1561935ddeb7f5f42181ac965a86 (patch)
treeb8ef93ba02dc40e09e6fcb385b5ccb345cc0d24b /source/blender/editors/screen/area.c
parent8c74944a8e6e21cca35a2f610360e1e2a1418b76 (diff)
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.
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r--source/blender/editors/screen/area.c2
1 files changed, 2 insertions, 0 deletions
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);