Author: post
Date: 2010-12-29 22:50:06 +0100 (Wed, 29 Dec 2010)
New Revision: 3725

Modified:
   trunk/src/rs-photo.c
Log:
Fix Bug #303: Straighten misbehaves when combined with mirror

Modified: trunk/src/rs-photo.c
===================================================================
--- trunk/src/rs-photo.c        2010-12-29 20:43:41 UTC (rev 3724)
+++ trunk/src/rs-photo.c        2010-12-29 21:50:06 UTC (rev 3725)
@@ -277,6 +277,9 @@
        gdouble previous;
        if (!photo) return;
 
+       if (photo->orientation&4)
+               angle = -angle;
+
        previous = photo->angle;
 
        if (relative)


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to