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 14, 2022
1 parent 8821ea5 commit f2ffdcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/georeferencer/qgsgcpcanvasitem.cpp
Original file line number Diff line number Diff line change
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 f2ffdcb

Please sign in to comment.