mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 03:56:32 +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) {
|
||||
includeThisEntity = includeThisEntity &&
|
||||
entityTreeElementExtraEncodeData->entities.contains(entity->getEntityItemID());
|
||||
if (includeThisEntity && hadElementExtraData) {
|
||||
includeThisEntity = 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
|
||||
|
|
Loading…
Reference in a new issue