diff options
author | Diva Canto | 2013-07-14 09:21:28 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-14 09:21:28 -0700 |
commit | c61ff917ef99a00d4062f264ed10c2a662585e8a (patch) | |
tree | c624d0237759bc402f33473bf12f753c45b29135 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Change the auth token to be the user's sessionid. (diff) | |
download | opensim-SC-c61ff917ef99a00d4062f264ed10c2a662585e8a.zip opensim-SC-c61ff917ef99a00d4062f264ed10c2a662585e8a.tar.gz opensim-SC-c61ff917ef99a00d4062f264ed10c2a662585e8a.tar.bz2 opensim-SC-c61ff917ef99a00d4062f264ed10c2a662585e8a.tar.xz |
Authenticate ChildAgentUpdate too.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index c5cca22..990ef6e 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2927,7 +2927,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2927 | cadu.Velocity = Velocity; | 2927 | cadu.Velocity = Velocity; |
2928 | 2928 | ||
2929 | AgentPosition agentpos = new AgentPosition(); | 2929 | AgentPosition agentpos = new AgentPosition(); |
2930 | agentpos.CopyFrom(cadu); | 2930 | agentpos.CopyFrom(cadu, ControllingClient.SessionId); |
2931 | 2931 | ||
2932 | // Let's get this out of the update loop | 2932 | // Let's get this out of the update loop |
2933 | Util.FireAndForget(delegate { m_scene.SendOutChildAgentUpdates(agentpos, this); }); | 2933 | Util.FireAndForget(delegate { m_scene.SendOutChildAgentUpdates(agentpos, this); }); |
@@ -3266,6 +3266,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3266 | 3266 | ||
3267 | cAgent.AgentID = UUID; | 3267 | cAgent.AgentID = UUID; |
3268 | cAgent.RegionID = Scene.RegionInfo.RegionID; | 3268 | cAgent.RegionID = Scene.RegionInfo.RegionID; |
3269 | cAgent.SessionID = ControllingClient.SessionId; | ||
3269 | 3270 | ||
3270 | cAgent.Position = AbsolutePosition; | 3271 | cAgent.Position = AbsolutePosition; |
3271 | cAgent.Velocity = m_velocity; | 3272 | cAgent.Velocity = m_velocity; |