Commit 635d1ba3 authored by Michael Muré's avatar Michael Muré

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

parent b87e5c10
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment