mirror of
https://github.com/overte-org/overte.git
synced 2025-07-14 14:56:37 +02:00
cleanup includeThisEntity check
This commit is contained in:
parent
543d0ce77e
commit
67a3d97f81
1 changed files with 2 additions and 3 deletions
|
@ -327,9 +327,8 @@ OctreeElement::AppendState EntityTreeElement::appendElementData(OctreePacketData
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hadElementExtraData) {
|
if (includeThisEntity && hadElementExtraData) {
|
||||||
includeThisEntity = includeThisEntity &&
|
includeThisEntity = entityTreeElementExtraEncodeData->entities.contains(entity->getEntityItemID());
|
||||||
entityTreeElementExtraEncodeData->entities.contains(entity->getEntityItemID());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// we only check the bounds against our frustum and LOD if the query has asked us to check against the frustum
|
// we only check the bounds against our frustum and LOD if the query has asked us to check against the frustum
|
||||||
|
|
Loading…
Reference in a new issue