Fix tile highlight corners are too fat since recent changes in glLineWidth policy
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 24 Jan 2016 09:01:21 +0000 (14:01 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 24 Jan 2016 09:01:56 +0000 (14:01 +0500)
source/blender/editors/space_image/image_draw.c

index 74f663e9b34bb5de3972f16f5815e5e268bc73cb..669fbd28a05ad38c04a4cf82fa290e36f4273ac8 100644 (file)
@@ -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);
                        }