diff options
author | Melanie | 2012-03-28 04:45:05 +0100 |
---|---|---|
committer | Melanie | 2012-03-28 04:45:05 +0100 |
commit | e73023b90b6092fffeef7b7f2c458a508af01ed7 (patch) | |
tree | b7785cabc8c395918cde842e8a997d6913032f4d /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Typo fix (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-e73023b90b6092fffeef7b7f2c458a508af01ed7.zip opensim-SC-e73023b90b6092fffeef7b7f2c458a508af01ed7.tar.gz opensim-SC-e73023b90b6092fffeef7b7f2c458a508af01ed7.tar.bz2 opensim-SC-e73023b90b6092fffeef7b7f2c458a508af01ed7.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 9559cc4..cac178d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2800,21 +2800,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2800 | // Cache the user's name | 2800 | // Cache the user's name |
2801 | CacheUserName(sp, aCircuit); | 2801 | CacheUserName(sp, aCircuit); |
2802 | 2802 | ||
2803 | // Let's send the Suitcase or the real root folder folder for incoming HG agents | ||
2804 | // Visiting agents get their suitcase contents; incoming local users get their real root folder's content | ||
2805 | if ((aCircuit.teleportFlags & (uint)Constants.TeleportFlags.ViaHGLogin) != 0) | ||
2806 | { | ||
2807 | // HACK FOR NOW. JUST TESTING, SO KEEPING EVERYONE ELSE OUT OF THESE TESTS | ||
2808 | IConfig config = m_config.Configs["HGEntityTransfer"]; | ||
2809 | if (config != null && config.GetBoolean("RestrictInventoryAccessAbroad", false)) | ||
2810 | { | ||
2811 | m_log.DebugFormat("[SCENE]: Sending root folder to viewer..."); | ||
2812 | InventoryFolderBase root = InventoryService.GetRootFolder(client.AgentId); | ||
2813 | //InventoryCollection rootContents = InventoryService.GetFolderContent(client.AgentId, root.ID); | ||
2814 | client.SendBulkUpdateInventory(root); | ||
2815 | } | ||
2816 | } | ||
2817 | |||
2818 | EventManager.TriggerOnNewClient(client); | 2803 | EventManager.TriggerOnNewClient(client); |
2819 | if (vialogin) | 2804 | if (vialogin) |
2820 | { | 2805 | { |