Bugfix #24847
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user