Manipulators: Fix Rotate manipulator arc drawing issue.

This commit is contained in:
Clément Foucault 2018-04-24 15:06:00 +02:00
parent 19808c347d
commit 2a9d008283
1 changed files with 2 additions and 0 deletions

View File

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