Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Revert "[core] Ensure image dependencies in GeometryTileWorker::onIma…
Browse files Browse the repository at this point in the history
…gesAvailable"

This reverts commit cd8eb13.
  • Loading branch information
brunoabinader committed Aug 23, 2017
1 parent f2c9f2b commit a2b0a54
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/mbgl/tile/geometry_tile_worker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,7 @@ void GeometryTileWorker::onGlyphsAvailable(GlyphMap newGlyphMap) {

void GeometryTileWorker::onImagesAvailable(ImageMap newImageMap) {
imageMap = std::move(newImageMap);
for (const auto& pair : imageMap) {
auto it = pendingImageDependencies.find(pair.first);
if (it != pendingImageDependencies.end()) {
pendingImageDependencies.erase(it);
}
}
pendingImageDependencies.clear();
symbolDependenciesChanged();
}

Expand Down

0 comments on commit a2b0a54

Please sign in to comment.