Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix display of raster layer that would sometimes show just garbage
If a raster layer was displayed in a way that it fitted into canvas, but would be shifted towards left or top edge of canvas, that bug would be triggered. By doing extra floating point math where not necessary, small imprecisions were introduced to extent definition and GDAL provider would end up requesting a window one pixel taller or wider, which leads to RasterIO error and results into garbage displayed on canvas
- Loading branch information