In still mode, don't load resources until a render request is made

This commit is contained in:
John Firebaugh
2015-08-31 17:56:27 -07:00
parent 0918ad5a29
commit 55d25a80a7
2 changed files with 23 additions and 1 deletions

View File

@@ -259,7 +259,7 @@ void MapContext::update() {
updateFlags = Update::Nothing;
}
if (updateFlags == Update::Nothing) {
if (updateFlags == Update::Nothing || (data.mode == MapMode::Still && !callback)) {
return;
}