Don't re-retrieve sit part in SP.HandleAgentSit() when we already have it.

0.8.0.3
Justin Clark-Casey (justincc) 2014-04-05 02:09:44 +01:00
parent 8b8e1b88ec
commit 2c00b73cd2
1 changed files with 2 additions and 0 deletions

View File

@ -117,7 +117,9 @@ namespace OpenSim.Region.ClientStack.Linden.Caps.Tests
PollServiceEventArgs pseArgs; PollServiceEventArgs pseArgs;
userCaps.TryGetPollHandler("FetchInventoryDescendents2", out pseArgs); userCaps.TryGetPollHandler("FetchInventoryDescendents2", out pseArgs);
req.UriPath = pseArgs.Url; req.UriPath = pseArgs.Url;
Console.WriteLine("req.UriPath:{0}", req.UriPath);
req.Uri = new Uri(req.UriPath); req.Uri = new Uri(req.UriPath);
Console.WriteLine("req.Uri:{0}", req.Uri);
// Retrieve root folder details directly so that we can request // Retrieve root folder details directly so that we can request
InventoryFolderBase folder = scene.InventoryService.GetRootFolder(ua.PrincipalID); InventoryFolderBase folder = scene.InventoryService.GetRootFolder(ua.PrincipalID);