mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 07:39:44 +02:00
remove unnecessary culling of properties
This commit is contained in:
parent
16da42723e
commit
bc19689910
1 changed files with 0 additions and 5 deletions
|
@ -179,11 +179,6 @@ OctreeElement::AppendState EntityItem::appendEntityData(OctreePacketData* packet
|
||||||
EntityPropertyFlags propertyFlags(PROP_LAST_ITEM);
|
EntityPropertyFlags propertyFlags(PROP_LAST_ITEM);
|
||||||
EntityPropertyFlags requestedProperties = getEntityProperties(params);
|
EntityPropertyFlags requestedProperties = getEntityProperties(params);
|
||||||
|
|
||||||
// the values of these two properties are known to the receiver by context
|
|
||||||
// therefore they don't need to be packed
|
|
||||||
requestedProperties -= PROP_ENTITY_HOST_TYPE;
|
|
||||||
requestedProperties -= PROP_OWNING_AVATAR_ID;
|
|
||||||
|
|
||||||
// If we are being called for a subsequent pass at appendEntityData() that failed to completely encode this item,
|
// If we are being called for a subsequent pass at appendEntityData() that failed to completely encode this item,
|
||||||
// then our entityTreeElementExtraEncodeData should include data about which properties we need to append.
|
// then our entityTreeElementExtraEncodeData should include data about which properties we need to append.
|
||||||
if (entityTreeElementExtraEncodeData && entityTreeElementExtraEncodeData->entities.contains(getEntityItemID())) {
|
if (entityTreeElementExtraEncodeData && entityTreeElementExtraEncodeData->entities.contains(getEntityItemID())) {
|
||||||
|
|
Loading…
Reference in a new issue