From 944e7a32e993a9502a9f10487348335195b1fa99 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 21 May 2013 15:53:58 -0700 Subject: [PATCH] trivial fix for the continously dying animation server --- libraries/shared/src/AgentList.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/shared/src/AgentList.cpp b/libraries/shared/src/AgentList.cpp index 3da956a04a..8f97135eab 100644 --- a/libraries/shared/src/AgentList.cpp +++ b/libraries/shared/src/AgentList.cpp @@ -250,7 +250,9 @@ Agent* AgentList::addOrUpdateAgent(sockaddr* publicSocket, sockaddr* localSocket return newAgent; } 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 // the lastRecvTimeUsecs for the audio mixer so it doesn't get killed and re-added continously agent->setLastHeardMicrostamp(usecTimestampNow());