don't send updates for deleted agents

avinationmerge
UbitUmarov 2014-11-01 00:01:11 +00:00
parent ba8e1efb43
commit 5cca6e7d16
1 changed files with 4 additions and 3 deletions

View File

@ -3975,7 +3975,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
else if (update.Entity is ScenePresence) else if (update.Entity is ScenePresence)
{ {
ScenePresence presence = (ScenePresence)update.Entity; ScenePresence presence = (ScenePresence)update.Entity;
if (presence.IsDeleted)
continue;
// If ParentUUID is not UUID.Zero and ParentID is 0, this // If ParentUUID is not UUID.Zero and ParentID is 0, this
// avatar is in the process of crossing regions while // avatar is in the process of crossing regions while
// sat on an object. In this state, we don't want any // sat on an object. In this state, we don't want any