diff options
author | UbitUmarov | 2014-08-04 21:52:29 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-04 21:52:29 +0100 |
commit | 3cca5ec6674b413a419d3f1c42467e57fb883f56 (patch) | |
tree | 8b68df5055f7cd518fa0a634ae3c17f763b6361c /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Revert "start sending terrain in scenePresence after well defined avatar. Minor" (diff) | |
download | opensim-SC-3cca5ec6674b413a419d3f1c42467e57fb883f56.zip opensim-SC-3cca5ec6674b413a419d3f1c42467e57fb883f56.tar.gz opensim-SC-3cca5ec6674b413a419d3f1c42467e57fb883f56.tar.bz2 opensim-SC-3cca5ec6674b413a419d3f1c42467e57fb883f56.tar.xz |
check...
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 24a92eb..596feb1 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3369,19 +3369,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
3369 | 3369 | ||
3370 | public void SendTerseUpdateToAgentClient(ScenePresence p) | 3370 | public void SendTerseUpdateToAgentClient(ScenePresence p) |
3371 | { | 3371 | { |
3372 | // messy checks because a client doesn't know what presence it belongs too | ||
3373 | |||
3374 | IClientAPI remoteClient = p.ControllingClient; | 3372 | IClientAPI remoteClient = p.ControllingClient; |
3375 | if (remoteClient == null) | 3373 | |
3376 | return; | ||
3377 | |||
3378 | if (!remoteClient.IsActive) | ||
3379 | return; | ||
3380 | |||
3381 | if (ParcelHideThisAvatar && p.currentParcelUUID != currentParcelUUID && p.GodLevel < 200) | 3374 | if (ParcelHideThisAvatar && p.currentParcelUUID != currentParcelUUID && p.GodLevel < 200) |
3382 | return; | 3375 | return; |
3383 | 3376 | ||
3384 | |||
3385 | //m_log.DebugFormat("[SCENE PRESENCE]: " + Name + " sending TerseUpdate to " + remoteClient.Name + " : Pos={0} Rot={1} Vel={2}", m_pos, Rotation, m_velocity); | 3377 | //m_log.DebugFormat("[SCENE PRESENCE]: " + Name + " sending TerseUpdate to " + remoteClient.Name + " : Pos={0} Rot={1} Vel={2}", m_pos, Rotation, m_velocity); |
3386 | remoteClient.SendEntityUpdate( | 3378 | remoteClient.SendEntityUpdate( |
3387 | this, | 3379 | this, |