Skip to content

Commit

Permalink
Merge pull request #1021 from CesiumGS/subset-no-detail
Browse files Browse the repository at this point in the history
Overlay tiles with a subset do not have more detail
  • Loading branch information
j9liu authored Dec 13, 2024
2 parents 9f41a38 + b2877d3 commit 3eff3c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
##### Fixes :wrench:

- Fixed a bug in `thenPassThrough` that caused a compiler error when given a value by r-value refrence.
- Fixed a raster overlay bug that could cause unnecessary upsampling with failed or missing overlay tiles.
- Fixed a bug in `SubtreeFileReader::loadBinary` that prevented valid subtrees from loading if they did not contain binary data.
- Fixed a bug in the `Tileset` selection algorithm that could cause detail to disappear during load in some cases.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,11 @@ QuadtreeRasterOverlayTileProvider::combineImages(
continue;
}

result.moreDetailAvailable |= loaded.moreDetailAvailable;
// Tiles with a subset inherently have no more detail available (otherwise
// we wouldn't need the subset).
if (!it->pValue->subset) {
result.moreDetailAvailable |= loaded.moreDetailAvailable;
}

blitImage(
target,
Expand Down

0 comments on commit 3eff3c4

Please sign in to comment.