diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_hide.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_hide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index 87bc89f810c..cd8b9164862 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -90,7 +90,7 @@ static int is_effected(PartialVisArea area, if (area == PARTIALVIS_ALL) return 1; else if (area == PARTIALVIS_MASKED) { - return mask > 0.5; + return mask > 0.5f; } else { int inside = planes_contain_v3(planes, 4, co); |