mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
Explained an edge case that can cause us to fail to send some entity properties
This commit is contained in:
parent
9a324379e7
commit
c0052004de
1 changed files with 4 additions and 0 deletions
|
@ -120,6 +120,10 @@ void EntityEditPacketSender::queueEditEntityMessage(PacketType type,
|
|||
encodeResult = EntityItemProperties::encodeEntityEditPacket(type, entityItemID, propertiesCopy, bufferOut, requestedProperties, didntFitProperties);
|
||||
|
||||
if (encodeResult == OctreeElement::NONE) {
|
||||
// This can happen for two reasons:
|
||||
// 1. One of the properties is too large to fit in a single packet.
|
||||
// 2. The requested properties don't exist in this entity type (e.g., 'modelUrl' in a Zone Entity).
|
||||
// Since case #1 is more likely (and more critical), that's the one we warn about.
|
||||
qCWarning(entities).nospace() << "queueEditEntityMessage: some of the properties don't fit and can't be sent. entityID=" << uuidStringWithoutCurlyBraces(entityItemID);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue