Commit: e49485a15cbce0e1f0dc1c72d742d08081a600f1
Author: Dalai Felinto
Date:   Fri Nov 9 10:01:22 2018 -0200
Branches: blender2.8
https://developer.blender.org/rBe49485a15cbce0e1f0dc1c72d742d08081a600f1

Greasepencil: double promotion cleanup and related

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

M       source/blender/editors/gpencil/gpencil_utils.c

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

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++) {

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to