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:
authorCampbell Barton <campbell@blender.org>2022-04-26 07:25:58 +0300
committerCampbell Barton <campbell@blender.org>2022-04-26 07:25:58 +0300
commit6d12bc9e918d47f39135750f9d99f901f88efc44 (patch)
tree752020c03cecc7a447eb9878601ee79527e957aa /source/blender/editors/sculpt_paint/paint_vertex.cc
parenta9d1b3d7e3e9fa52c811d9807c8a26aa1c64b327 (diff)
Cleanup: use boolean arguments and return values
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_vertex.cc')
-rw-r--r--source/blender/editors/sculpt_paint/paint_vertex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.cc b/source/blender/editors/sculpt_paint/paint_vertex.cc
index 1ae9f7a8afb..5aeacb15e00 100644
--- a/source/blender/editors/sculpt_paint/paint_vertex.cc
+++ b/source/blender/editors/sculpt_paint/paint_vertex.cc
@@ -412,7 +412,7 @@ static float wpaint_blend(const VPaint *wp,
const float alpha,
float paintval,
const float UNUSED(brush_alpha_value),
- const short do_flip)
+ const bool do_flip)
{
const Brush *brush = wp->paint.brush;
IMB_BlendMode blend = (IMB_BlendMode)brush->blend;