aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/EntityTransfer
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-10-26 01:15:16 +0100
committerJustin Clark-Casey (justincc)2012-10-26 01:15:16 +0100
commit2fb89b5aac0369e126234a8189d676d904d0ae33 (patch)
treecc8a3d6a196aed0160a0f1984219c05b9cac7877 /OpenSim/Region/CoreModules/Framework/EntityTransfer
parentFixed saving non-square multi-region OARs (diff)
downloadopensim-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/CoreModules/Framework/EntityTransfer')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs31
1 files changed, 16 insertions, 15 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index 90fe430..7498cfe 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -672,13 +672,14 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
672 sp.Reset(); 672 sp.Reset();
673 } 673 }
674 674
675 // REFACTORING PROBLEM. Well, not a problem, but this method is HORRIBLE! 675 // Commented pending deletion since this method no longer appears to do anything at all
676 if (sp.Scene.NeedSceneCacheClear(sp.UUID)) 676// // REFACTORING PROBLEM. Well, not a problem, but this method is HORRIBLE!
677 { 677// if (sp.Scene.NeedSceneCacheClear(sp.UUID))
678 m_log.DebugFormat( 678// {
679 "[ENTITY TRANSFER MODULE]: User {0} is going to another region, profile cache removed", 679// m_log.DebugFormat(
680 sp.UUID); 680// "[ENTITY TRANSFER MODULE]: User {0} is going to another region, profile cache removed",
681 } 681// sp.UUID);
682// }
682 683
683 m_entityTransferStateMachine.ResetFromTransit(sp.UUID); 684 m_entityTransferStateMachine.ResetFromTransit(sp.UUID);
684 } 685 }
@@ -1237,14 +1238,14 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
1237 1238
1238 AgentHasMovedAway(agent, false); 1239 AgentHasMovedAway(agent, false);
1239 1240
1240 // the user may change their profile information in other region, 1241// // the user may change their profile information in other region,
1241 // so the userinfo in UserProfileCache is not reliable any more, delete it 1242// // so the userinfo in UserProfileCache is not reliable any more, delete it
1242 // REFACTORING PROBLEM. Well, not a problem, but this method is HORRIBLE! 1243// // REFACTORING PROBLEM. Well, not a problem, but this method is HORRIBLE!
1243 if (agent.Scene.NeedSceneCacheClear(agent.UUID)) 1244// if (agent.Scene.NeedSceneCacheClear(agent.UUID))
1244 { 1245// {
1245 m_log.DebugFormat( 1246// m_log.DebugFormat(
1246 "[ENTITY TRANSFER MODULE]: User {0} is going to another region", agent.UUID); 1247// "[ENTITY TRANSFER MODULE]: User {0} is going to another region", agent.UUID);
1247 } 1248// }
1248 1249
1249 //m_log.Debug("AFTER CROSS"); 1250 //m_log.Debug("AFTER CROSS");
1250 //Scene.DumpChildrenSeeds(UUID); 1251 //Scene.DumpChildrenSeeds(UUID);