mirror of
https://github.com/overte-org/overte.git
synced 2025-08-14 01:29:55 +02:00
trivial fix for the continously dying animation server
This commit is contained in:
parent
31a11e8221
commit
944e7a32e9
1 changed files with 3 additions and 1 deletions
|
@ -250,7 +250,9 @@ Agent* AgentList::addOrUpdateAgent(sockaddr* publicSocket, sockaddr* localSocket
|
||||||
return newAgent;
|
return newAgent;
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (agent->getType() == AGENT_TYPE_AUDIO_MIXER || agent->getType() == AGENT_TYPE_VOXEL) {
|
if (agent->getType() == AGENT_TYPE_AUDIO_MIXER ||
|
||||||
|
agent->getType() == AGENT_TYPE_VOXEL ||
|
||||||
|
agent->getType() == AGENT_TYPE_ANIMATION_SERVER) {
|
||||||
// until the Audio class also uses our agentList, we need to update
|
// until the Audio class also uses our agentList, we need to update
|
||||||
// the lastRecvTimeUsecs for the audio mixer so it doesn't get killed and re-added continously
|
// the lastRecvTimeUsecs for the audio mixer so it doesn't get killed and re-added continously
|
||||||
agent->setLastHeardMicrostamp(usecTimestampNow());
|
agent->setLastHeardMicrostamp(usecTimestampNow());
|
||||||
|
|
Loading…
Reference in a new issue