mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
Fix entities not loading when Interface doesn't have focus
Reverts https://github.com/highfidelity/hifi/pull/14286
This commit is contained in:
parent
dc4b967ff5
commit
e12833da23
1 changed files with 3 additions and 7 deletions
|
@ -6071,9 +6071,7 @@ void Application::update(float deltaTime) {
|
|||
{
|
||||
PROFILE_RANGE_EX(app, "Overlays", 0xffff0000, (uint64_t)getActiveDisplayPlugin()->presentCount());
|
||||
PerformanceTimer perfTimer("overlays");
|
||||
if (qApp->shouldPaint()) {
|
||||
_overlays.update(deltaTime);
|
||||
}
|
||||
_overlays.update(deltaTime);
|
||||
}
|
||||
|
||||
// Update _viewFrustum with latest camera and view frustum data...
|
||||
|
@ -6158,10 +6156,8 @@ void Application::update(float deltaTime) {
|
|||
PROFILE_RANGE_EX(app, "PostUpdateLambdas", 0xffff0000, (uint64_t)0);
|
||||
PerformanceTimer perfTimer("postUpdateLambdas");
|
||||
std::unique_lock<std::mutex> guard(_postUpdateLambdasLock);
|
||||
if (qApp->shouldPaint()) {
|
||||
for (auto& iter : _postUpdateLambdas) {
|
||||
iter.second();
|
||||
}
|
||||
for (auto& iter : _postUpdateLambdas) {
|
||||
iter.second();
|
||||
}
|
||||
_postUpdateLambdas.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue