[gimp] app: the selection mask was offset in the wrong direction in GimpImageMap



commit 971007796f17d59a7b5d0fd1c4b6931e58739e98
Author: Michael Natterer <mitch gimp org>
Date:   Mon May 13 22:10:33 2013 +0200

    app: the selection mask was offset in the wrong direction in GimpImageMap
    
    Spotted my Massimo Valentini.

 app/core/gimpimagemap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimpimagemap.c b/app/core/gimpimagemap.c
index a93bd4d..59b7f26 100644
--- a/app/core/gimpimagemap.c
+++ b/app/core/gimpimagemap.c
@@ -397,7 +397,7 @@ gimp_image_map_apply (GimpImageMap *image_map)
 
       gimp_applicator_set_mask_buffer (image_map->applicator, mask_buffer);
       gimp_applicator_set_mask_offset (image_map->applicator,
-                                       offset_x, offset_y);
+                                       -offset_x, -offset_y);
     }
 
   gimp_drawable_update (image_map->drawable,


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