diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-11-09 15:01:22 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-11-09 15:01:22 +0300 |
commit | e49485a15cbce0e1f0dc1c72d742d08081a600f1 (patch) | |
tree | d01376750d5bb28500cda81fce727303860f00a8 /source/blender/editors/gpencil/gpencil_utils.c | |
parent | 494ba42254b4588f2c528a528741fd8f2e52bcb2 (diff) |
Greasepencil: double promotion cleanup and related
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_utils.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c index 0098d99e581..8a2bd54b002 100644 --- a/source/blender/editors/gpencil/gpencil_utils.c +++ b/source/blender/editors/gpencil/gpencil_utils.c @@ -1813,14 +1813,14 @@ void ED_gpencil_calc_stroke_uv(Object *ob, bGPDstroke *gps) } else { /* use this value by default */ - pixsize = 0.000100f; + pixsize = 0.0001f; } pixsize = MAX2(pixsize, 0.0000001f); bGPDspoint *pt = NULL; bGPDspoint *ptb = NULL; int i; - float totlen = 0; + float totlen = 0.0f; /* first read all points and calc distance */ for (i = 0; i < gps->totpoints; i++) { |