Skip to content

Commit

Permalink
Fix incorrect display of residual lines for previously georeferenced …
Browse files Browse the repository at this point in the history
…images
  • Loading branch information
nyalldawson committed Feb 9, 2022
1 parent b6f3df3 commit de73149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/georeferencer/qgsgcpcanvasitem.cpp
Expand Up @@ -220,7 +220,7 @@ double QgsGCPCanvasItem::residualToScreenFactor() const
}
}

return 1.0 / ( mapUnitsPerScreenPixel * mapUnitsPerRasterPixel );
return mapUnitsPerRasterPixel / mapUnitsPerScreenPixel;
}

void QgsGCPCanvasItem::checkBoundingRectChange()
Expand Down

0 comments on commit de73149

Please sign in to comment.