app: For generated brushes scale is applied to radius, so divide by 2
This commit is contained in:
@ -324,7 +324,7 @@ gimp_brush_generated_transform_size (GimpBrush *gbrush,
|
|||||||
|
|
||||||
gimp_brush_generated_get_half_size (brush,
|
gimp_brush_generated_get_half_size (brush,
|
||||||
brush->shape,
|
brush->shape,
|
||||||
brush->radius * scale,
|
brush->radius * (scale / 2),
|
||||||
brush->spikes,
|
brush->spikes,
|
||||||
brush->hardness,
|
brush->hardness,
|
||||||
ratio,
|
ratio,
|
||||||
@ -366,7 +366,7 @@ gimp_brush_generated_transform_mask (GimpBrush *gbrush,
|
|||||||
|
|
||||||
return gimp_brush_generated_calc (brush,
|
return gimp_brush_generated_calc (brush,
|
||||||
brush->shape,
|
brush->shape,
|
||||||
brush->radius * scale ,
|
brush->radius * (scale / 2),
|
||||||
brush->spikes,
|
brush->spikes,
|
||||||
brush->hardness * hardness,
|
brush->hardness * hardness,
|
||||||
ratio,
|
ratio,
|
||||||
|
Reference in New Issue
Block a user