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:
authorHans Goudey <h.goudey@me.com>2020-11-17 17:03:04 +0300
committerHans Goudey <h.goudey@me.com>2020-11-17 17:03:04 +0300
commit46e2f4761cda941b891bfc2abfa7a5188eff82c7 (patch)
treed3fe402ad516dd80d10abda2dc0674b7ac3a91f9 /source/blender/editors/sculpt_paint/paint_stroke.c
parent24474a60b6b9d0186cf81b93c0ff9116ddcc7b40 (diff)
parentb26cbb5d53ccfa2f0f434040de4a20831128aed1 (diff)
Merge branch 'geometry-nodes' into geometry-nodes-attribute-nodes
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_stroke.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_stroke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c
index 75357214936..57b1102219e 100644
--- a/source/blender/editors/sculpt_paint/paint_stroke.c
+++ b/source/blender/editors/sculpt_paint/paint_stroke.c
@@ -717,7 +717,7 @@ static float paint_space_stroke_spacing(bContext *C,
spacing *= stroke->zoom_2d;
if (paint_stroke_use_scene_spacing(brush, mode)) {
- return max_ff(0.001f, size_clamp * spacing / 50.f);
+ return max_ff(0.001f, size_clamp * spacing / 50.0f);
}
return max_ff(stroke->zoom_2d, size_clamp * spacing / 50.0f);
}