mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 06:03:50 +02:00
debugging
This commit is contained in:
parent
651f37aceb
commit
2a3b4a85c7
1 changed files with 7 additions and 0 deletions
|
@ -186,10 +186,13 @@ bool SafeLanding::isEntityLoadingComplete() {
|
|||
bool isVisuallyReady = true;
|
||||
|
||||
if (enableInterstitial) {
|
||||
bool hasRenderable = true;
|
||||
auto entityRenderable = entityTree->renderableForEntityId(entityMapIter->first);
|
||||
if (!entityRenderable) {
|
||||
hasRenderable = false;
|
||||
entityTree->addingEntity(entityMapIter->first);
|
||||
}
|
||||
qDebug() << EntityTypes::getEntityTypeName(entity->getType()) << entity->isVisuallyReady() << hasRenderable << entity->isParentPathComplete();
|
||||
isVisuallyReady = entity->isVisuallyReady() || (!entityRenderable && !entity->isParentPathComplete());
|
||||
}
|
||||
|
||||
|
@ -204,6 +207,10 @@ bool SafeLanding::isEntityLoadingComplete() {
|
|||
}
|
||||
}
|
||||
|
||||
if (!_trackedEntities.empty()) {
|
||||
qDebug() << "\n";
|
||||
}
|
||||
|
||||
if (enableInterstitial) {
|
||||
_trackedEntityStabilityCount++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue