mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-27 00:04:49 -04:00
setting a cache image, and prefer any cached image with parameters which exactly match the current cache parameters This allows us to properly handle the case where: - one map job is canceled, but some layers did finish rendering - while the canceling is occuring on a different thread, we start a new map render using the same cache and set new extent/map to pixel for it - the canceled job cleans up and stores the cache images for the layers which DID finish rendering -- in this case we need to explicitly state the previous extent/map to pixel when storing the cache image, as they won't match the cache's current parameters