Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-11-09 15:01:22 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-11-09 15:01:22 +0300
commite49485a15cbce0e1f0dc1c72d742d08081a600f1 (patch)
treed01376750d5bb28500cda81fce727303860f00a8 /source/blender/editors/gpencil/gpencil_utils.c
parent494ba42254b4588f2c528a528741fd8f2e52bcb2 (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.c4
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++) {