diff options
author | Justin Clark-Casey (justincc) | 2012-10-26 01:15:16 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-26 01:15:16 +0100 |
commit | 2fb89b5aac0369e126234a8189d676d904d0ae33 (patch) | |
tree | cc8a3d6a196aed0160a0f1984219c05b9cac7877 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Fixed saving non-square multi-region OARs (diff) | |
download | opensim-SC_OLD-2fb89b5aac0369e126234a8189d676d904d0ae33.zip opensim-SC_OLD-2fb89b5aac0369e126234a8189d676d904d0ae33.tar.gz opensim-SC_OLD-2fb89b5aac0369e126234a8189d676d904d0ae33.tar.bz2 opensim-SC_OLD-2fb89b5aac0369e126234a8189d676d904d0ae33.tar.xz |
Comment out InventoryTransferModule.NeedSceneCacheClear() and invocations since the call itself does nothing and the return value is ignored by all callers.
This is a very old method (+4 years) so is probably confusing code cruft.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 0f39671..9c61fe7 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3435,9 +3435,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
3435 | if (closeChildAgents && CapsModule != null) | 3435 | if (closeChildAgents && CapsModule != null) |
3436 | CapsModule.RemoveCaps(agentID); | 3436 | CapsModule.RemoveCaps(agentID); |
3437 | 3437 | ||
3438 | // REFACTORING PROBLEM -- well not really a problem, but just to point out that whatever | 3438 | // // REFACTORING PROBLEM -- well not really a problem, but just to point out that whatever |
3439 | // this method is doing is HORRIBLE!!! | 3439 | // // this method is doing is HORRIBLE!!! |
3440 | avatar.Scene.NeedSceneCacheClear(avatar.UUID); | 3440 | // Commented pending deletion since this method no longer appears to do anything at all |
3441 | // avatar.Scene.NeedSceneCacheClear(avatar.UUID); | ||
3441 | 3442 | ||
3442 | if (closeChildAgents && !isChildAgent) | 3443 | if (closeChildAgents && !isChildAgent) |
3443 | { | 3444 | { |
@@ -4873,14 +4874,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
4873 | client.SendRegionHandle(regionID, handle); | 4874 | client.SendRegionHandle(regionID, handle); |
4874 | } | 4875 | } |
4875 | 4876 | ||
4876 | public bool NeedSceneCacheClear(UUID agentID) | 4877 | // Commented pending deletion since this method no longer appears to do anything at all |
4877 | { | 4878 | // public bool NeedSceneCacheClear(UUID agentID) |
4878 | IInventoryTransferModule inv = RequestModuleInterface<IInventoryTransferModule>(); | 4879 | // { |
4879 | if (inv == null) | 4880 | // IInventoryTransferModule inv = RequestModuleInterface<IInventoryTransferModule>(); |
4880 | return true; | 4881 | // if (inv == null) |
4881 | 4882 | // return true; | |
4882 | return inv.NeedSceneCacheClear(agentID, this); | 4883 | // |
4883 | } | 4884 | // return inv.NeedSceneCacheClear(agentID, this); |
4885 | // } | ||
4884 | 4886 | ||
4885 | public void CleanTempObjects() | 4887 | public void CleanTempObjects() |
4886 | { | 4888 | { |