minor: formatting changes in Scene.PacketHandlers.cs

iar_mods
Justin Clark-Casey (justincc) 2011-11-26 01:52:12 +00:00
parent 46e1bcb6b6
commit 86cc00aaa8
1 changed files with 5 additions and 5 deletions

View File

@ -330,7 +330,7 @@ namespace OpenSim.Region.Framework.Scenes
} }
} }
} }
} }
public virtual void ProcessObjectDeGrab(uint localID, IClientAPI remoteClient, List<SurfaceTouchEventArgs> surfaceArgs) public virtual void ProcessObjectDeGrab(uint localID, IClientAPI remoteClient, List<SurfaceTouchEventArgs> surfaceArgs)
{ {
@ -484,6 +484,7 @@ namespace OpenSim.Region.Framework.Scenes
// can be handled transparently). // can be handled transparently).
InventoryFolderImpl fold = null; InventoryFolderImpl fold = null;
if (LibraryService != null && LibraryService.LibraryRootFolder != null) if (LibraryService != null && LibraryService.LibraryRootFolder != null)
{
if ((fold = LibraryService.LibraryRootFolder.FindFolder(folderID)) != null) if ((fold = LibraryService.LibraryRootFolder.FindFolder(folderID)) != null)
{ {
remoteClient.SendInventoryFolderDetails( remoteClient.SendInventoryFolderDetails(
@ -491,6 +492,7 @@ namespace OpenSim.Region.Framework.Scenes
fold.RequestListOfFolders(), fold.Version, fetchFolders, fetchItems); fold.RequestListOfFolders(), fold.Version, fetchFolders, fetchItems);
return; return;
} }
}
// We're going to send the reply async, because there may be // We're going to send the reply async, because there may be
// an enormous quantity of packets -- basically the entire inventory! // an enormous quantity of packets -- basically the entire inventory!
@ -585,14 +587,13 @@ namespace OpenSim.Region.Framework.Scenes
} }
} }
delegate void PurgeFolderDelegate(UUID userID, UUID folder);
/// <summary> /// <summary>
/// This should delete all the items and folders in the given directory. /// This should delete all the items and folders in the given directory.
/// </summary> /// </summary>
/// <param name="remoteClient"></param> /// <param name="remoteClient"></param>
/// <param name="folderID"></param> /// <param name="folderID"></param>
delegate void PurgeFolderDelegate(UUID userID, UUID folder);
public void HandlePurgeInventoryDescendents(IClientAPI remoteClient, UUID folderID) public void HandlePurgeInventoryDescendents(IClientAPI remoteClient, UUID folderID)
{ {
PurgeFolderDelegate d = PurgeFolderAsync; PurgeFolderDelegate d = PurgeFolderAsync;
@ -606,7 +607,6 @@ namespace OpenSim.Region.Framework.Scenes
} }
} }
private void PurgeFolderAsync(UUID userID, UUID folderID) private void PurgeFolderAsync(UUID userID, UUID folderID)
{ {
InventoryFolderBase folder = new InventoryFolderBase(folderID, userID); InventoryFolderBase folder = new InventoryFolderBase(folderID, userID);