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:
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image_proj.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_proj.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c
index b64aefc4ef7..d54db048faf 100644
--- a/source/blender/editors/sculpt_paint/paint_image_proj.c
+++ b/source/blender/editors/sculpt_paint/paint_image_proj.c
@@ -3524,8 +3524,8 @@ static bool project_paint_flt_max_cull(
{
if (!ps->is_ortho) {
if (coSS->v1[0] == FLT_MAX ||
- coSS->v2[0] == FLT_MAX ||
- coSS->v3[0] == FLT_MAX)
+ coSS->v2[0] == FLT_MAX ||
+ coSS->v3[0] == FLT_MAX)
{
return true;
}
@@ -4350,8 +4350,9 @@ static void do_projectpaint_mask_f(ProjPaintState *ps, ProjPixel *projPixel, flo
}
}
-static void image_paint_partial_redraw_expand(ImagePaintPartialRedraw *cell,
- const ProjPixel *projPixel)
+static void image_paint_partial_redraw_expand(
+ ImagePaintPartialRedraw *cell,
+ const ProjPixel *projPixel)
{
cell->x1 = min_ii(cell->x1, (int)projPixel->x_px);
cell->y1 = min_ii(cell->y1, (int)projPixel->y_px);