gimp:cage-transform : fusion of two loop that didn't need to be seperate

This commit is contained in:
Michael Muré 2011-03-24 19:13:39 +01:00
parent b87e5c10b3
commit 635d1ba37d
1 changed files with 0 additions and 3 deletions

View File

@ -515,10 +515,7 @@ gimp_cage_transform_compute_destination (GimpCageConfig *config,
{
pos_x += coef[i] * config->cage_points[i].dest_point.x;
pos_y += coef[i] * config->cage_points[i].dest_point.y;
}
for (i = 0; i < cvn; i++)
{
pos_x += coef[i + cvn] * config->cage_points[i].edge_scaling_factor * config->cage_points[i].edge_normal.x;
pos_y += coef[i + cvn] * config->cage_points[i].edge_scaling_factor * config->cage_points[i].edge_normal.y;
}