mirror of
https://github.com/torlando-tech/pyxis.git
synced 2026-10-23 06:12:25 +00:00
fix: prevent tile worker starvation on unchanged map model
This commit is contained in:
1 parent
f03e1c5937
commit
f6fc95d046
4 files changed
+42
-1
No files matched your search
@@ -620,7 +620,9 @@ void MapScreen::updateModel(const Pyxis::MapView::Request& request) {
|
||||
presenter_.recenter(true, request.local_location)) {
|
||||
center_initialized_ = true;
|
||||
}
|
||||
requests_released_ = false;
|
||||
if (!presenter_.frameBuiltForCurrentEpoch()) {
|
||||
requests_released_ = false;
|
||||
}
|
||||
(void)presenter_.buildFrame(request);
|
||||
unlockState();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user