mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +02:00
Merge pull request #6 from danteruiz/revert-loagic-chnage
Reverting bad logic
This commit is contained in:
commit
f875bfd0d8
1 changed files with 3 additions and 3 deletions
|
@ -116,10 +116,9 @@ bool SafeLanding::isLoadSequenceComplete() {
|
||||||
_initialEnd = INVALID_SEQUENCE;
|
_initialEnd = INVALID_SEQUENCE;
|
||||||
_entityTree = nullptr;
|
_entityTree = nullptr;
|
||||||
EntityTreeRenderer::setEntityLoadingPriorityFunction(StandardPriority);
|
EntityTreeRenderer::setEntityLoadingPriorityFunction(StandardPriority);
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return !_trackingEntities;
|
||||||
}
|
}
|
||||||
|
|
||||||
float SafeLanding::loadingProgressPercentage() {
|
float SafeLanding::loadingProgressPercentage() {
|
||||||
|
@ -150,9 +149,10 @@ bool SafeLanding::isSequenceNumbersComplete() {
|
||||||
&& endIter != _sequenceNumbers.end()
|
&& endIter != _sequenceNumbers.end()
|
||||||
&& distance(startIter, endIter) == sequenceSize - 1)) {
|
&& distance(startIter, endIter) == sequenceSize - 1)) {
|
||||||
_trackingEntities = false; // Don't track anything else that comes in.
|
_trackingEntities = false; // Don't track anything else that comes in.
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return !_trackingEntities;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isEntityPhysicsReady(const EntityItemPointer& entity) {
|
bool isEntityPhysicsReady(const EntityItemPointer& entity) {
|
||||||
|
|
Loading…
Reference in a new issue