[gimp] Fixes to brush aspect ratio dynamics



commit c3be07e9376b5074d03cad8c4269be46fbc4e40b
Author: Alexia Death <alexiadeath gmail com>
Date:   Sun Apr 26 12:08:41 2009 +0300

    Fixes to brush aspect ratio dynamics
    
    Fixes to brush aspect ratios for parametric brushes
---
 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 d2157ff..2977aff 100644
--- a/app/core/gimpbrushgenerated.c
+++ b/app/core/gimpbrushgenerated.c
@@ -315,7 +315,7 @@ gimp_brush_generated_transform_size (GimpBrush *gbrush,
                                       brush->radius * scale,
                                       brush->spikes,
                                       brush->hardness,
-                                      brush->aspect_ratio / aspect_ratio,
+                                      brush->aspect_ratio * aspect_ratio,
                                       (brush->angle + 360 * angle),
                                       &half_width, &half_height,
                                       NULL, NULL, NULL, NULL);
@@ -347,7 +347,7 @@ gimp_brush_generated_transform_mask (GimpBrush *gbrush,
                                     brush->radius * scale ,
                                     brush->spikes,
                                     brush->hardness,
-                                    brush->aspect_ratio / aspect_ratio,
+                                    brush->aspect_ratio * aspect_ratio,
                                     (brush->angle + 360 * angle),
                                     NULL, NULL);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]