Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX(mapcraft_markers) setting world crop after cache update
Cause: If render.conf contains multiple definitions of the same world with different crop setting it would cause cache to mistakenly update timestamp on whole region but some entities would left out because of cropping. Consequence: This would cause Markers not be generated on global map. Markers would be only generated in cropped area. Fix: When syncing world data with cache, crop is not applied. This way, world get correctly synced into cache on the first pass completely. Result: Markers are generated correctly respecting their world they are displayed on. And cache is updated correctly for regions that are cropped in some worlds. First pass can take significant time, but any subsequent pass is instant beacause whole world is in cache (if you are using multiple world definitions with same world data, e.g. views) This would cause unnecessary work being done on worlds that have only cropped view of their world.
- Loading branch information