add easy way to set rotation angle to straighten an image
Submitted by Dori
Link to original bug (#526719)
Description
In my photography workflow, when I want to straighten an image, I first use the ruler to get a measure of degrees and then I use rotate. It would be really helpful if there was a tie in between these tools. For example, you could autofill in the degrees (with the right sign) to align either horizontally or vertically (depending on the ruler position) the image. I believe Photoshop does this.
You could also have a button in the Info Window of the ruler that says "Auto-straighten" to this line (again either horizontally or vertically, doing the right clockwise/counterclockwise rotation depending on the position of the ruler).
Thanks
Version: git master