mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 12:28:02 +02:00
Defer avatar PoP check
This commit is contained in:
parent
024dfbf8b7
commit
93db5ec054
1 changed files with 3 additions and 0 deletions
|
@ -204,7 +204,10 @@ void AvatarMixerClientData::processSetTraitsMessage(ReceivedMessage& message,
|
||||||
if (traitType == AvatarTraits::SkeletonModelURL) {
|
if (traitType == AvatarTraits::SkeletonModelURL) {
|
||||||
// special handling for skeleton model URL, since we need to make sure it is in the whitelist
|
// special handling for skeleton model URL, since we need to make sure it is in the whitelist
|
||||||
checkSkeletonURLAgainstWhitelist(slaveSharedData, sendingNode, packetTraitVersion);
|
checkSkeletonURLAgainstWhitelist(slaveSharedData, sendingNode, packetTraitVersion);
|
||||||
|
#ifdef AVATAR_POP_CHECK
|
||||||
|
// Deferred for UX work. With no PoP check, no need to get the .fst.
|
||||||
_avatar->fetchAvatarFST();
|
_avatar->fetchAvatarFST();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
anyTraitsChanged = true;
|
anyTraitsChanged = true;
|
||||||
|
|
Loading…
Reference in a new issue