From 65ff9da428f4e44fdb9c685c62fbb67f6cf6ef2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 4 Nov 2016 16:12:13 +0100 Subject: [PATCH] Attract: Draw conflicts more subtly --- blender_cloud/attract/draw.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/blender_cloud/attract/draw.py b/blender_cloud/attract/draw.py index 68b9a96..131a27d 100644 --- a/blender_cloud/attract/draw.py +++ b/blender_cloud/attract/draw.py @@ -16,7 +16,7 @@ # # ##### END GPL LICENSE BLOCK ##### -# +# import bpy import logging @@ -87,8 +87,7 @@ def draw_strip_conflict(strip_coords, pixel_size_x): # Always draw the full rectangle, the conflict should be resolved and thus stand out. bgl.glColor3f(*CONFLICT_COLOUR) - bgl.glLineWidth(3) - bgl.glPointSize(10) + bgl.glLineWidth(2) bgl.glBegin(bgl.GL_LINE_LOOP) bgl.glVertex2f(s_x1, s_y1) @@ -97,13 +96,6 @@ def draw_strip_conflict(strip_coords, pixel_size_x): bgl.glVertex2f(s_x1, s_y2) bgl.glEnd() - bgl.glBegin(bgl.GL_POINTS) - bgl.glVertex2f(s_x1, s_y1) - bgl.glVertex2f(s_x2, s_y1) - bgl.glVertex2f(s_x2, s_y2) - bgl.glVertex2f(s_x1, s_y2) - bgl.glEnd() - bgl.glPopAttrib()