Bugzilla – Bug 1158 |
Selection changes position when rotated and rotated back by the same angle |
Last modified: 2015-09-16 02:13:00 CDT |
⚠ |
NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug. The Fiji project now uses GitHub Issues for issue tracking. Please file all new issues there. |
Selection changes position when rotated and rotated back by the same angle |
|
|
|
||||||||||||||||||||||||||||||||||||||||||
|
|
Created attachment 260 "Useful information about your system" copied from the Bug Report Form When I run the following macro, the resulting polygon selection changes position from the initial polygon. I have tried this on tiff and png files. makePolygon(479,637,1003,429,937,335,689,444,604,363,643,463,445,537); run("Draw"); run("Rotate...", "angle=45"); run("Rotate...", "angle=-45"); When I was testing this problem, it also occurred for squares when the x and y coordinate were not the same - however, I updated my version of Fiji, and this no longer occurs. E.g.: run("Specify...", "width=100 height=100 x=100 y=300"); run("Draw"); run("Rotate...", "angle=45"); run("Rotate...", "angle=-45"); Is the centre of the object the point of rotation? Thanks, Linda