Clear raster overlays attached to non-render content.
This commit is contained in:
parent
f23bb53502
commit
0a939838cc
|
|
@ -1448,6 +1448,11 @@ void TilesetContentManager::setTileContent(
|
|||
"TilesetContentManager::setTileContent");
|
||||
}
|
||||
|
||||
// Only render content should have raster overlays.
|
||||
if (!tile.getContent().isRenderContent()) {
|
||||
tile.getMappedRasterTiles().clear();
|
||||
}
|
||||
|
||||
if (result.tileInitializer) {
|
||||
result.tileInitializer(tile);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue