[gimp] Bug 656512 - Moving a floating selection - objects disappear



commit 944f6a529d14e25f5ef449c3705934316f2c38c2
Author: Michael Natterer <mitch gimp org>
Date:   Fri Sep 23 22:34:25 2011 +0200

    Bug 656512 - Moving a floating selection - objects disappear
    
    Fix typo in gimp_drawable_fs_update(): use the drawable's x and y
    offsets to calculate the intersection with the fs' update area, and
    not the y offset for both axes.

 app/core/gimpdrawable.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index cf87a05..ab341b3 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -1154,7 +1154,7 @@ gimp_drawable_fs_update (GimpLayer    *fs,
                                 y + fs_off_y,
                                 width,
                                 height,
-                                off_y,
+                                off_x,
                                 off_y,
                                 gimp_item_get_width  (GIMP_ITEM (drawable)),
                                 gimp_item_get_height (GIMP_ITEM (drawable)),



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