[gimp/metadata-browser] app: fix some brushes not going small enough correctly
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: fix some brushes not going small enough correctly
- Date: Wed, 12 Sep 2012 22:41:30 +0000 (UTC)
commit eccd8fa56c414b62d41ac00fc738e81661716fb9
Author: Alexia Death <alexiadeath gmail com>
Date: Fri Jan 20 21:11:02 2012 +0200
app: fix some brushes not going small enough correctly
That limit may need to be removed completely some day...
app/core/gimpbrushgenerated.c | 4 ++--
app/paint/gimpbrushcore.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/core/gimpbrushgenerated.c b/app/core/gimpbrushgenerated.c
index f99c828..b5c5bc8 100644
--- a/app/core/gimpbrushgenerated.c
+++ b/app/core/gimpbrushgenerated.c
@@ -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,
diff --git a/app/paint/gimpbrushcore.c b/app/paint/gimpbrushcore.c
index 8b19102..21d5b97 100644
--- a/app/paint/gimpbrushcore.c
+++ b/app/paint/gimpbrushcore.c
@@ -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;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]