[gimp] app: fix outline offseting at rotation



commit 477b2e1a0ff64a9f99de8b831c8af8638b5c7f59
Author: Alexia Death <alexiadeath gmail com>
Date:   Wed Mar 17 20:12:12 2010 +0200

    app: fix outline offseting at rotation

 app/paint/gimpbrushcore.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/paint/gimpbrushcore.c b/app/paint/gimpbrushcore.c
index 4cc0480..d0df765 100644
--- a/app/paint/gimpbrushcore.c
+++ b/app/paint/gimpbrushcore.c
@@ -1020,8 +1020,8 @@ gimp_brush_core_transform_bound_segs (GimpBrushCore    *core,
   angle = core->angle;
   aspect_ratio = core->aspect_ratio;
 
-  height = core->main_brush->mask->height;
-  width  = core->main_brush->mask->width;
+  height = core->brush_bound_width;
+  width  = core->brush_bound_height;
 
   if (aspect_ratio < 1.0)
     {



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