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:
authorCampbell Barton <ideasman42@gmail.com>2018-09-19 08:31:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-19 08:32:28 +0300
commit414e5fe0684acd043cb34d3d0109f06053624610 (patch)
tree0e1085c37e8aa7e8923ea2c76d22871c328d11c5 /source/blender/editors/gizmo_library
parent2065669716f1d14be0d2445cdd898580b0dd1083 (diff)
Correct polygon_smooth being left enabled
Diffstat (limited to 'source/blender/editors/gizmo_library')
-rw-r--r--source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c b/source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c
index 96c23aad6ef..1876d6ba00f 100644
--- a/source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c
+++ b/source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c
@@ -285,12 +285,11 @@ static void dial_ghostarc_draw_with_helplines(wmGizmo *gz, float angle_ofs, floa
{
/* Coordinate at which the arc drawing will be started. */
const float co_outer[4] = {0.0f, DIAL_WIDTH, 0.0f};
- GPU_polygon_smooth(false);
dial_ghostarc_draw(gz, angle_ofs, angle_delta, (const float[4]){0.8f, 0.8f, 0.8f, 0.4f});
GPU_polygon_smooth(true);
-
dial_ghostarc_draw_helpline(angle_ofs, co_outer, color_helpline);
dial_ghostarc_draw_helpline(angle_ofs + angle_delta, co_outer, color_helpline);
+ GPU_polygon_smooth(false);
}
static void dial_draw_intern(