mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
Added a warning if we can't send some of an entity's properties to the entity server.
This can happen if a property is too large to be sent in a single UDP packet. This commit doesn't fix the underlying problem, but it makes it possible to see that the problem happened. See: Large 'userData' can't be sent to the entity server https://github.com/highfidelity/hifi/issues/12794
This commit is contained in:
parent
7f285c5f90
commit
9a324379e7
1 changed files with 4 additions and 1 deletions
|
@ -119,7 +119,10 @@ void EntityEditPacketSender::queueEditEntityMessage(PacketType type,
|
|||
while (encodeResult == OctreeElement::PARTIAL) {
|
||||
encodeResult = EntityItemProperties::encodeEntityEditPacket(type, entityItemID, propertiesCopy, bufferOut, requestedProperties, didntFitProperties);
|
||||
|
||||
if (encodeResult != OctreeElement::NONE) {
|
||||
if (encodeResult == OctreeElement::NONE) {
|
||||
qCWarning(entities).nospace() << "queueEditEntityMessage: some of the properties don't fit and can't be sent. entityID=" << uuidStringWithoutCurlyBraces(entityItemID);
|
||||
}
|
||||
else {
|
||||
#ifdef WANT_DEBUG
|
||||
qCDebug(entities) << "calling queueOctreeEditMessage()...";
|
||||
qCDebug(entities) << " id:" << entityItemID;
|
||||
|
|
Loading…
Reference in a new issue