[gimp/soc-2010-cage-2] app: Fix coordinate adjustment bug in cage tool
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2010-cage-2] app: Fix coordinate adjustment bug in cage tool
- Date: Thu, 30 Dec 2010 18:07:28 +0000 (UTC)
commit 3dd972609242fa1a5aaacc3ff2fa8d2afbfa5690
Author: Alexia Death <alexiadeath gmail com>
Date: Fri Nov 5 23:43:31 2010 +0200
app: Fix coordinate adjustment bug in cage tool
app/gegl/gimpcageconfig.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/gegl/gimpcageconfig.c b/app/gegl/gimpcageconfig.c
index 602f2d4..08201ea 100644
--- a/app/gegl/gimpcageconfig.c
+++ b/app/gegl/gimpcageconfig.c
@@ -57,7 +57,6 @@ G_DEFINE_TYPE_WITH_CODE (GimpCageConfig, gimp_cage_config,
#define parent_class gimp_cage_config_parent_class
-
#ifdef DEBUG_CAGE
static void
print_cage (GimpCageConfig *gcc)
@@ -235,6 +234,8 @@ gimp_cage_config_move_cage_point (GimpCageConfig *gcc,
{
gcc->cage_vertices[point_number].x = x + DELTA - gcc->offset_x;
gcc->cage_vertices[point_number].y = y + DELTA - gcc->offset_y;
+ gcc->cage_vertices_d[point_number].x = x + DELTA - gcc->offset_x;
+ gcc->cage_vertices_d[point_number].y = y + DELTA - gcc->offset_y;
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]