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>2004-07-29 17:57:59 +0400
committerTon Roosendaal <ton@blender.org>2004-07-29 17:57:59 +0400
commit295989f42ae48468e096294a86ccaa2c4be0a999 (patch)
treee068d3f35115a62883bcd15d11ba82b93911050d
parent3b29759bbfceb40a18e7a606dd2731f117cf1ffc (diff)
Circle select (B+B) had drawing error, a missing segment in the circle.
-rw-r--r--source/blender/src/glutil.c2
-rw-r--r--source/blender/src/interface_draw.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/glutil.c b/source/blender/src/glutil.c
index 3177be9d9b8..568c660208c 100644
--- a/source/blender/src/glutil.c
+++ b/source/blender/src/glutil.c
@@ -143,7 +143,7 @@ void fdrawXORcirc(float xofs, float yofs, float rad)
glPushMatrix();
glTranslatef(xofs, yofs, 0.0);
- glutil_draw_lined_arc(0.0, M_PI*2.1, rad, 20);
+ glutil_draw_lined_arc(0.0, M_PI*2.0, rad, 20);
glPopMatrix();
set_inverted_drawing(0);
diff --git a/source/blender/src/interface_draw.c b/source/blender/src/interface_draw.c
index 6e671d36610..b93658c7a00 100644
--- a/source/blender/src/interface_draw.c
+++ b/source/blender/src/interface_draw.c
@@ -1612,7 +1612,7 @@ static void ui_draw_but_HSVCUBE(uiBut *but)
CLAMP(x, but->x1+3.0, but->x2-3.0);
CLAMP(y, but->y1+3.0, but->y2-3.0);
- fdrawXORcirc(x, y, 3.0);
+ fdrawXORcirc(x, y, 3.1);
/* outline */
glColor3ub(0, 0, 0);