[QGIS Commit] r13696 - trunk/qgis/src/plugins/georeferencer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Jun 9 04:06:28 EDT 2010


Author: mhugent
Date: 2010-06-09 04:06:26 -0400 (Wed, 09 Jun 2010)
New Revision: 13696

Modified:
   trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp
Log:
Show rotation in degrees in georef status bar

Modified: trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp
===================================================================
--- trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp	2010-06-08 20:11:32 UTC (rev 13695)
+++ trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp	2010-06-09 08:06:26 UTC (rev 13696)
@@ -1481,7 +1481,7 @@
     labelString += " ";
     labelString += tr( "Translation (%1, %2)" ).arg( origin.x() ).arg( origin.y() ); labelString += " ";
     labelString += tr( "Scale (%1, %2)" ).arg( scaleX ).arg( scaleY ); labelString += " ";
-    labelString += tr( "Rotation: %1" ).arg( rotation );
+    labelString += tr( "Rotation: %1" ).arg( rotation * 180 / M_PI );
   }
 
   double meanError = 0;



More information about the QGIS-commit mailing list