diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-11 12:15:13 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-11 12:15:13 +0400 |
commit | b4a0152e76683dfb170c3e2796e15e1b5b67e2ab (patch) | |
tree | 15466a4e658f8fd42d55b9748bbeb6f02c12ba30 /source/blender/editors/gpencil | |
parent | 9ae0523921fa4baeb37bcdd36f208da952f4337f (diff) |
code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/drawgpencil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index 8f0ea378a2a..7726e707f08 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -196,9 +196,9 @@ static void gp_draw_stroke_point (bGPDspoint *points, short thickness, short dfl gluQuadricDrawStyle(qobj, GLU_FILL); /* need to translate drawing position, but must reset after too! */ - glTranslatef(co[0], co[1], 0.); + glTranslatef(co[0], co[1], 0.0); gluDisk(qobj, 0.0, thickness, 32, 1); - glTranslatef(-co[0], -co[1], 0.); + glTranslatef(-co[0], -co[1], 0.0); gluDeleteQuadric(qobj); } |