mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
refresh AvatarData when receiving identity data
This commit is contained in:
parent
2777ad0397
commit
7100f44927
1 changed files with 3 additions and 0 deletions
|
@ -1495,6 +1495,9 @@ void AvatarData::processAvatarIdentity(const Identity& identity, bool& identityC
|
|||
setAvatarEntityData(identity.avatarEntityData);
|
||||
identityChanged = true;
|
||||
}
|
||||
// flag this avatar as non-stale by updating _averageBytesReceived
|
||||
const int BOGUS_NUM_BYTES = 1;
|
||||
_averageBytesReceived.updateAverage(BOGUS_NUM_BYTES);
|
||||
}
|
||||
|
||||
QByteArray AvatarData::identityByteArray() const {
|
||||
|
|
Loading…
Reference in a new issue