[QGIS Commit] r13445 - trunk/qgis/src/plugins/georeferencer
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat May 8 19:48:40 EDT 2010
Author: jef
Date: 2010-05-08 19:48:40 -0400 (Sat, 08 May 2010)
New Revision: 13445
Modified:
trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp
trunk/qgis/src/plugins/georeferencer/qgsresidualplotitem.cpp
Log:
fix windows build
Modified: trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp
===================================================================
--- trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp 2010-05-08 22:32:14 UTC (rev 13444)
+++ trunk/qgis/src/plugins/georeferencer/qgsgeorefplugingui.cpp 2010-05-08 23:48:40 UTC (rev 13445)
@@ -1132,6 +1132,8 @@
return true;
}
}
+
+ return false;
}
bool QgsGeorefPluginGui::writeWorldFile( QgsPoint origin, double pixelXSize, double pixelYSize, double rotation )
@@ -1256,7 +1258,7 @@
if ( nPointsEnabled > 4 )
{
- meanError = sqrt(( sumVxSquare + sumVySquare ) / ( 2 * nPointsEnabled - 4 ) ) * sqrt( 2 );
+ meanError = sqrt(( sumVxSquare + sumVySquare ) / ( 2 * nPointsEnabled - 4 ) ) * sqrt( 2.0 );
}
}
Modified: trunk/qgis/src/plugins/georeferencer/qgsresidualplotitem.cpp
===================================================================
--- trunk/qgis/src/plugins/georeferencer/qgsresidualplotitem.cpp 2010-05-08 22:32:14 UTC (rev 13444)
+++ trunk/qgis/src/plugins/georeferencer/qgsresidualplotitem.cpp 2010-05-08 23:48:40 UTC (rev 13445)
@@ -141,7 +141,6 @@
QPointF residual = p->residual();
QLineF residualLine( pixelXMM, pixelYMM, pixelXMM + residual.x(), pixelYMM + residual.y() );
QPointF intersectionPoint;
- double dx, dy;
if ( residual.y() > 0 )
{
More information about the QGIS-commit
mailing list