Fix T43959 jittering in 2D texture painting.
This is still not perfect, but should work smoother now. Previously there was visible wobbling while painting. This can be included in final release.
This commit is contained in:
@@ -345,8 +345,8 @@ static unsigned short *brush_painter_curve_mask_new(BrushPainter *painter, int d
|
||||
{
|
||||
Brush *brush = painter->brush;
|
||||
|
||||
int xoff = -diameter * 0.5f + 0.5f;
|
||||
int yoff = -diameter * 0.5f + 0.5f;
|
||||
int xoff = -radius;
|
||||
int yoff = -radius;
|
||||
|
||||
unsigned short *mask, *m;
|
||||
int x, y;
|
||||
|
||||
Reference in New Issue
Block a user