mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 18:03:27 +02:00
Fix nearby_avatars not tracking
This commit is contained in:
parent
847685d224
commit
2621add8e3
1 changed files with 2 additions and 0 deletions
|
@ -1157,9 +1157,11 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) :
|
||||||
int nearbyAvatars = avatarManager->numberOfAvatarsInRange(avatarManager->getMyAvatar()->getPosition(),
|
int nearbyAvatars = avatarManager->numberOfAvatarsInRange(avatarManager->getMyAvatar()->getPosition(),
|
||||||
NEARBY_AVATAR_RADIUS_METERS) - 1;
|
NEARBY_AVATAR_RADIUS_METERS) - 1;
|
||||||
if (nearbyAvatars != lastCountOfNearbyAvatars) {
|
if (nearbyAvatars != lastCountOfNearbyAvatars) {
|
||||||
|
lastCountOfNearbyAvatars = nearbyAvatars;
|
||||||
UserActivityLogger::getInstance().logAction("nearby_avatars", { { "count", nearbyAvatars } });
|
UserActivityLogger::getInstance().logAction("nearby_avatars", { { "count", nearbyAvatars } });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
checkNearbyAvatarsTimer->start();
|
||||||
|
|
||||||
// Track user activity event when we receive a mute packet
|
// Track user activity event when we receive a mute packet
|
||||||
auto onMutedByMixer = []() {
|
auto onMutedByMixer = []() {
|
||||||
|
|
Loading…
Reference in a new issue