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:
authorTon Roosendaal <ton@blender.org>2009-07-19 16:15:20 +0400
committerTon Roosendaal <ton@blender.org>2009-07-19 16:15:20 +0400
commitf72018ebeb841c9aa677b4f51e1d28a56e8565a7 (patch)
treef88b68bd059ab3ba981df939fe1bd06aa73b9134 /source/blender/windowmanager/intern/wm_draw.c
parent26ec00d567520d9c2a5f99e4884ebc0cd63a6656 (diff)
2.5
Small fix: Triple Buffer mode didn't clip custom paint cursors correctly for overlapping regions (example, view3d paint circle drawing into toolbar)
Diffstat (limited to 'source/blender/windowmanager/intern/wm_draw.c')
-rw-r--r--source/blender/windowmanager/intern/wm_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_draw.c b/source/blender/windowmanager/intern/wm_draw.c
index ef89b2b35ad..1df567e3c92 100644
--- a/source/blender/windowmanager/intern/wm_draw.c
+++ b/source/blender/windowmanager/intern/wm_draw.c
@@ -574,8 +574,8 @@ static void wm_method_draw_triple(bContext *C, wmWindow *win)
CTX_wm_area_set(C, sa);
CTX_wm_region_set(C, ar);
- wmSubWindowSet(win, ar->swinid);
- ED_region_pixelspace(ar);
+ /* make region ready for draw, scissor, pixelspace */
+ ED_region_set(C, ar);
wm_paintcursor_draw(C, ar);
CTX_wm_region_set(C, NULL);