Merge branch 'blender-v2.81-release'
This commit is contained in:
commit
0faed98da1
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue