Issue #2405 - Rotation center shifts by half a pixel ...
... the second time you do a 180 degrees rotation In gimp_transform_resize_adjust(), nudge the transformed layer boundary by EPSILON toward the center, to avoid enlarging the layer unnecessarily, as a result of numeric error amplified by rounding, when the tranformed boundary should land on integer coordinates. In particular, this avoids enlarging the layer when rotating by 180 degrees. (cherry picked from commit c271992aa01dc8d565524ade8f511f4932c307fd)
Showing with 4 additions and 4 deletions