[Bf-blender-cvs] [7c1e369] master: Fix tile highlight corners are too fat since recent changes in glLineWidth policy

Sergey Sharybin noreply at git.blender.org
Sun Jan 24 10:05:09 CET 2016


Commit: 7c1e369987bcfc0c9b0687570a9afe1c772c1666
Author: Sergey Sharybin
Date:   Sun Jan 24 14:01:21 2016 +0500
Branches: master
https://developer.blender.org/rB7c1e369987bcfc0c9b0687570a9afe1c772c1666

Fix tile highlight corners are too fat since recent changes in glLineWidth policy

===================================================================

M	source/blender/editors/space_image/image_draw.c

===================================================================

diff --git a/source/blender/editors/space_image/image_draw.c b/source/blender/editors/space_image/image_draw.c
index 74f663e..669fbd2 100644
--- a/source/blender/editors/space_image/image_draw.c
+++ b/source/blender/editors/space_image/image_draw.c
@@ -130,6 +130,7 @@ static void draw_render_info(const bContext *C,
 
 			UI_ThemeColor(TH_FACE_SELECT);
 
+			glLineWidth(1.0f);
 			for (i = 0, tile = tiles; i < total_tiles; i++, tile++) {
 				glaDrawBorderCorners(tile, zoomx, zoomy);
 			}




More information about the Bf-blender-cvs mailing list