mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
commit
35ca75093a
1 changed files with 3 additions and 3 deletions
|
@ -116,9 +116,10 @@ bool SafeLanding::isLoadSequenceComplete() {
|
|||
_initialEnd = INVALID_SEQUENCE;
|
||||
_entityTree = nullptr;
|
||||
EntityTreeRenderer::setEntityLoadingPriorityFunction(StandardPriority);
|
||||
return true;
|
||||
}
|
||||
|
||||
return !_trackingEntities;
|
||||
return false;
|
||||
}
|
||||
|
||||
float SafeLanding::loadingProgressPercentage() {
|
||||
|
@ -149,10 +150,9 @@ bool SafeLanding::isSequenceNumbersComplete() {
|
|||
&& endIter != _sequenceNumbers.end()
|
||||
&& distance(startIter, endIter) == sequenceSize - 1)) {
|
||||
_trackingEntities = false; // Don't track anything else that comes in.
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
return !_trackingEntities;
|
||||
}
|
||||
|
||||
bool isEntityPhysicsReady(const EntityItemPointer& entity) {
|
||||
|
|
Loading…
Reference in a new issue