[core] remove TileData::State::loaded

This commit is contained in:
Konstantin Käfer
2016-05-25 19:54:30 +02:00
parent 95dc8ff3e1
commit c52a0c65f4
5 changed files with 11 additions and 28 deletions

View File

@@ -63,7 +63,7 @@ bool Source::isLoaded() const {
if (!loaded) return false;
for (const auto& pair : tileDataMap) {
if (pair.second->getState() != TileData::State::parsed) {
if (!pair.second->isComplete()) {
return false;
}
}