When report error was drawn in info header, using border select
or paint brushes flickered. Was caused by Triple Buffer method
not checking for correct redraw case.

Also made report redraws less aggressive, it was drawing the info
header all over with 50 FPS for 10 seconds. Made it 20 FPS, and 
added code to only send notifiers for actual changes.

As todo note for future: animated UI options could get better
caching to cope with slower refreshes.
This commit is contained in:
2010-11-24 16:34:38 +00:00
parent 0daee3b8ed
commit 117d11021e
3 changed files with 18 additions and 8 deletions

View File

@@ -620,7 +620,8 @@ static void wm_method_draw_triple(bContext *C, wmWindow *win)
}
}
if(screen->do_draw_gesture)
/* always draw, not only when screen tagged */
if(win->gesture.first)
wm_gesture_draw(win);
if(wm->paintcursors.first) {