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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-05-13 17:32:42 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-05-13 17:32:42 +0400
commit2914d152411cc1dda353f0806d0f579e9c471730 (patch)
treef8fb08b3c3fc875eb5f84cc90f8d2ea43c434ed0 /source/blender/windowmanager/intern/wm_draw.c
parent51c615e1bc40cccea21be332fad5c236d00cff9c (diff)
Fix #35337: sculpt performance regression, partial redraw was not working anymore
due to paint cursor redraw problem.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_draw.c')
-rw-r--r--source/blender/windowmanager/intern/wm_draw.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c
index 005d02647a4..438004b5d76 100644
--- a/source/blender/windowmanager/intern/wm_draw.c
+++ b/source/blender/windowmanager/intern/wm_draw.c
@@ -798,6 +798,12 @@ void wm_tag_redraw_overlay(wmWindow *win, ARegion *ar)
}
}
+void WM_paint_cursor_tag_redraw(wmWindow *win, ARegion *ar)
+{
+ win->screen->do_draw_paintcursor = TRUE;
+ wm_tag_redraw_overlay(win, ar);
+}
+
void wm_draw_update(bContext *C)
{
wmWindowManager *wm = CTX_wm_manager(C);