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:
authorClément Foucault <foucault.clem@gmail.com>2018-04-24 16:06:00 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-04-24 16:06:27 +0300
commit2a9d008283b1645beb22ef21de7777fc6526d617 (patch)
tree14c210699e97cc7ecee264a660fe9d60d6f2b7fb /source/blender/editors/manipulator_library
parent19808c347dac72bd63415fb08ea38923d00e5cdc (diff)
Manipulators: Fix Rotate manipulator arc drawing issue.
Diffstat (limited to 'source/blender/editors/manipulator_library')
-rw-r--r--source/blender/editors/manipulator_library/manipulator_types/dial3d_manipulator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/manipulator_library/manipulator_types/dial3d_manipulator.c b/source/blender/editors/manipulator_library/manipulator_types/dial3d_manipulator.c
index 88961e85cca..0d2f2c2cc24 100644
--- a/source/blender/editors/manipulator_library/manipulator_types/dial3d_manipulator.c
+++ b/source/blender/editors/manipulator_library/manipulator_types/dial3d_manipulator.c
@@ -310,7 +310,9 @@ static void dial_draw_intern(
/* draw! */
for (int i = 0; i < 2; i++) {
+ glDisable(GL_POLYGON_SMOOTH);
dial_ghostarc_draw(mpr, angle_ofs, angle_delta, (const float [4]){0.8f, 0.8f, 0.8f, 0.4f});
+ glEnable(GL_POLYGON_SMOOTH);
dial_ghostarc_draw_helpline(angle_ofs, co_outer, color); /* starting position */
dial_ghostarc_draw_helpline(angle_ofs + angle_delta, co_outer, color); /* starting position + current value */