diff options
author | unknown | 2010-05-20 11:51:57 -0700 |
---|---|---|
committer | unknown | 2010-05-20 11:51:57 -0700 |
commit | 59dec2f989474158c94a2383b150c25d132777aa (patch) | |
tree | 1452f96feca0a8531a7864522f2e796cc82ca288 /OpenSim/Server | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into slimupd... (diff) | |
download | opensim-SC_OLD-59dec2f989474158c94a2383b150c25d132777aa.zip opensim-SC_OLD-59dec2f989474158c94a2383b150c25d132777aa.tar.gz opensim-SC_OLD-59dec2f989474158c94a2383b150c25d132777aa.tar.bz2 opensim-SC_OLD-59dec2f989474158c94a2383b150c25d132777aa.tar.xz |
* Added sessionID to IGridUserService.SetLastPosition(), as some connectors will want to track position against sessionID instead of userID
* Updated SimianPresenceServiceConnector to use the new LoggedOut/SetHome/etc methods and only update session position on parcel crossing
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs b/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs index f8fa429..b1e7eac 100644 --- a/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs +++ b/OpenSim/Server/Handlers/GridUser/GridUserServerPostHandler.cs | |||
@@ -156,6 +156,7 @@ namespace OpenSim.Server.Handlers.GridUser | |||
156 | byte[] SetPosition(Dictionary<string, object> request) | 156 | byte[] SetPosition(Dictionary<string, object> request) |
157 | { | 157 | { |
158 | string user = string.Empty; | 158 | string user = string.Empty; |
159 | UUID sessionID = UUID.Zero; | ||
159 | UUID region = UUID.Zero; | 160 | UUID region = UUID.Zero; |
160 | Vector3 position = new Vector3(128, 128, 70); | 161 | Vector3 position = new Vector3(128, 128, 70); |
161 | Vector3 look = Vector3.Zero; | 162 | Vector3 look = Vector3.Zero; |
@@ -166,7 +167,7 @@ namespace OpenSim.Server.Handlers.GridUser | |||
166 | if (!UnpackArgs(request, out user, out region, out position, out look)) | 167 | if (!UnpackArgs(request, out user, out region, out position, out look)) |
167 | return FailureResult(); | 168 | return FailureResult(); |
168 | 169 | ||
169 | if (m_GridUserService.SetLastPosition(user, region, position, look)) | 170 | if (m_GridUserService.SetLastPosition(user, sessionID, region, position, look)) |
170 | return SuccessResult(); | 171 | return SuccessResult(); |
171 | 172 | ||
172 | return FailureResult(); | 173 | return FailureResult(); |