[Bf-blender-cvs] [2a9d008283b] blender2.8: Manipulators: Fix Rotate manipulator arc drawing issue.

Clément Foucault noreply at git.blender.org
Tue Apr 24 15:06:46 CEST 2018


Commit: 2a9d008283b1645beb22ef21de7777fc6526d617
Author: Clément Foucault
Date:   Tue Apr 24 15:06:00 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB2a9d008283b1645beb22ef21de7777fc6526d617

Manipulators: Fix Rotate manipulator arc drawing issue.

===================================================================

M	source/blender/editors/manipulator_library/manipulator_types/dial3d_manipulator.c

===================================================================

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 */



More information about the Bf-blender-cvs mailing list