app: Fix coordinate adjustment bug in cage tool

This commit is contained in:
Alexia Death 2010-11-05 23:43:31 +02:00
parent 9d604a545f
commit c791ed0dca
1 changed files with 2 additions and 1 deletions

View File

@ -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
{