mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
Clear deleted avatar-entity list in mixer
This commit is contained in:
parent
e10936ec34
commit
2bd66924ef
1 changed files with 2 additions and 0 deletions
|
@ -152,6 +152,8 @@ void AvatarMixerClientData::processSetTraitsMessage(ReceivedMessage& message,
|
|||
if (packetTraitVersion > instanceVersionRef) {
|
||||
if (traitSize == AvatarTraits::DELETED_TRAIT_SIZE) {
|
||||
_avatar->processDeletedTraitInstance(traitType, instanceID);
|
||||
// Mixer doesn't need deleted IDs.
|
||||
_avatar->getAndClearRecentlyDetachedIDs();
|
||||
|
||||
// to track a deleted instance but keep version information
|
||||
// the avatar mixer uses the negative value of the sent version
|
||||
|
|
Loading…
Reference in a new issue