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:
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_2d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_2d.c b/source/blender/editors/sculpt_paint/paint_image_2d.c
index a1e67e78a10..004caae8a00 100644
--- a/source/blender/editors/sculpt_paint/paint_image_2d.c
+++ b/source/blender/editors/sculpt_paint/paint_image_2d.c
@@ -402,8 +402,8 @@ static unsigned short *brush_painter_curve_mask_new(BrushPainter *painter,
float aa_step = 1.0f / (float)aa_samples;
float bpos[2];
- bpos[0] = pos[0] - floorf(pos[0]) + offset + aa_offset;
- bpos[1] = pos[1] - floorf(pos[1]) + offset + aa_offset;
+ bpos[0] = pos[0] - floorf(pos[0]) + offset - aa_offset;
+ bpos[1] = pos[1] - floorf(pos[1]) + offset - aa_offset;
const float co = cosf(DEG2RADF(rotation));
const float si = sinf(DEG2RADF(rotation));