3
0
Fork 0
mirror of https://github.com/JulianGro/overte.git synced 2025-04-13 01:02:50 +02:00

Merge pull request from howard-stearns/defer-avatar-pop-check

Defer avatar PoP check
This commit is contained in:
Brad Hefta-Gaub 2019-05-17 14:39:16 -07:00 committed by GitHub
commit 0d271af1fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -204,7 +204,10 @@ void AvatarMixerClientData::processSetTraitsMessage(ReceivedMessage& message,
if (traitType == AvatarTraits::SkeletonModelURL) {
// special handling for skeleton model URL, since we need to make sure it is in the whitelist
checkSkeletonURLAgainstWhitelist(slaveSharedData, sendingNode, packetTraitVersion);
#ifdef AVATAR_POP_CHECK
// Deferred for UX work. With no PoP check, no need to get the .fst.
_avatar->fetchAvatarFST();
#endif
}
anyTraitsChanged = true;