gimpcageconfig: add missing normal computing, which caused wrong first preview

This commit is contained in:
Michael Muré 2010-08-15 02:09:41 +02:00
parent 28cfa9d3df
commit 537c72b0cf
1 changed files with 2 additions and 0 deletions

View File

@ -198,6 +198,7 @@ gimp_cage_config_remove_last_cage_point (GimpCageConfig *gcc)
gcc->cage_vertice_number--;
gimp_cage_config_compute_scaling_factor (gcc);
gimp_cage_config_compute_edge_normal (gcc);
}
gint
@ -331,6 +332,7 @@ gimp_cage_config_reverse_cage (GimpCageConfig *gcc)
}
gimp_cage_config_compute_scaling_factor (gcc);
gimp_cage_config_compute_edge_normal (gcc);
}
void