[gimp/metadata-browser] app: For generated brushes scale is applied to radius, so divide by 2
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: For generated brushes scale is applied to radius, so divide by 2
- Date: Wed, 12 Sep 2012 22:37:07 +0000 (UTC)
commit ce98d309232c479fd34cc79e050622bdc326b73e
Author: Alexia Death <alexiadeath gmail com>
Date: Sun Jan 8 13:43:17 2012 +0200
app: For generated brushes scale is applied to radius, so divide by 2
app/core/gimpbrushgenerated.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpbrushgenerated.c b/app/core/gimpbrushgenerated.c
index 05c9c2f..f99c828 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,
+ brush->radius * (scale / 2),
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 ,
+ brush->radius * (scale / 2),
brush->spikes,
brush->hardness * hardness,
ratio,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]