mirror of https://github.com/GNOME/gimp.git
app: fix some brushes not going small enough correctly
That limit may need to be removed completely some day...
This commit is contained in:
parent
fefad7a251
commit
4fe9955b3e
|
@ -324,7 +324,7 @@ gimp_brush_generated_transform_size (GimpBrush *gbrush,
|
|||
|
||||
gimp_brush_generated_get_half_size (brush,
|
||||
brush->shape,
|
||||
brush->radius * (scale / 2),
|
||||
brush->radius * scale,
|
||||
brush->spikes,
|
||||
brush->hardness,
|
||||
ratio,
|
||||
|
@ -366,7 +366,7 @@ gimp_brush_generated_transform_mask (GimpBrush *gbrush,
|
|||
|
||||
return gimp_brush_generated_calc (brush,
|
||||
brush->shape,
|
||||
brush->radius * (scale / 2),
|
||||
brush->radius * scale,
|
||||
brush->spikes,
|
||||
brush->hardness * hardness,
|
||||
ratio,
|
||||
|
|
|
@ -336,7 +336,7 @@ gimp_brush_core_pre_paint (GimpPaintCore *paint_core,
|
|||
paint_options,
|
||||
fade_point);
|
||||
|
||||
if (scale < 0.0001)
|
||||
if (scale < 0.0000001)
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue