mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 16:14:01 +02:00
reverting logic change
This commit is contained in:
parent
b28c375ad3
commit
78268001c4
1 changed files with 3 additions and 3 deletions
|
@ -116,10 +116,9 @@ bool SafeLanding::isLoadSequenceComplete() {
|
|||
_initialEnd = INVALID_SEQUENCE;
|
||||
_entityTree = nullptr;
|
||||
EntityTreeRenderer::setEntityLoadingPriorityFunction(StandardPriority);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return !_trackingEntities;
|
||||
}
|
||||
|
||||
float SafeLanding::loadingProgressPercentage() {
|
||||
|
@ -150,9 +149,10 @@ bool SafeLanding::isSequenceNumbersComplete() {
|
|||
&& endIter != _sequenceNumbers.end()
|
||||
&& distance(startIter, endIter) == sequenceSize - 1)) {
|
||||
_trackingEntities = false; // Don't track anything else that comes in.
|
||||
returnm true;
|
||||
}
|
||||
}
|
||||
return !_trackingEntities;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool isEntityPhysicsReady(const EntityItemPointer& entity) {
|
||||
|
|
Loading…
Reference in a new issue