diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 474d8d5..01d6c5a 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -88,7 +88,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
88 | protected SceneCommunicationService m_sceneGridService; | 88 | protected SceneCommunicationService m_sceneGridService; |
89 | protected SceneXmlLoader m_sceneXmlLoader; | 89 | protected SceneXmlLoader m_sceneXmlLoader; |
90 | 90 | ||
91 | protected Dictionary<LLUUID, Caps> m_capsHandlers = new Dictionary<LLUUID, Caps>(); | 91 | protected Dictionary<LLUUID, OpenSim.Region.Capabilities.Caps> m_capsHandlers = new Dictionary<LLUUID, OpenSim.Region.Capabilities.Caps>(); |
92 | protected BaseHttpServer httpListener; | 92 | protected BaseHttpServer httpListener; |
93 | 93 | ||
94 | protected Dictionary<string, IRegionModule> Modules = new Dictionary<string, IRegionModule>(); | 94 | protected Dictionary<string, IRegionModule> Modules = new Dictionary<string, IRegionModule>(); |
@@ -990,6 +990,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
990 | } | 990 | } |
991 | } | 991 | } |
992 | 992 | ||
993 | /* Tree has been removed from libSL | ||
993 | public void AddTree(LLVector3 scale, LLQuaternion rotation, LLVector3 position, | 994 | public void AddTree(LLVector3 scale, LLQuaternion rotation, LLVector3 position, |
994 | libsecondlife.ObjectManager.Tree treeType, bool newTree) | 995 | libsecondlife.ObjectManager.Tree treeType, bool newTree) |
995 | { | 996 | { |
@@ -1001,7 +1002,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1001 | treeShape.State = (byte)treeType; | 1002 | treeShape.State = (byte)treeType; |
1002 | AddNewPrim(LLUUID.Random(), position, rotation, treeShape); | 1003 | AddNewPrim(LLUUID.Random(), position, rotation, treeShape); |
1003 | } | 1004 | } |
1004 | 1005 | */ | |
1005 | public void RemovePrim(uint localID, LLUUID avatar_deleter) | 1006 | public void RemovePrim(uint localID, LLUUID avatar_deleter) |
1006 | { | 1007 | { |
1007 | m_innerScene.RemovePrim(localID, avatar_deleter); | 1008 | m_innerScene.RemovePrim(localID, avatar_deleter); |
@@ -1323,8 +1324,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1323 | { | 1324 | { |
1324 | if (agent.CapsPath != "") | 1325 | if (agent.CapsPath != "") |
1325 | { | 1326 | { |
1326 | Caps cap = | 1327 | OpenSim.Region.Capabilities.Caps cap = |
1327 | new Caps(AssetCache, httpListener, m_regInfo.ExternalHostName, httpListener.Port, | 1328 | new OpenSim.Region.Capabilities.Caps(AssetCache, httpListener, m_regInfo.ExternalHostName, httpListener.Port, |
1328 | agent.CapsPath, agent.AgentID, m_dumpAssetsToFile); | 1329 | agent.CapsPath, agent.AgentID, m_dumpAssetsToFile); |
1329 | 1330 | ||
1330 | Util.SetCapsURL(agent.AgentID, "http://" + m_regInfo.ExternalHostName + ":" + httpListener.Port.ToString() + | 1331 | Util.SetCapsURL(agent.AgentID, "http://" + m_regInfo.ExternalHostName + ":" + httpListener.Port.ToString() + |
@@ -1335,7 +1336,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1335 | if (m_capsHandlers.ContainsKey(agent.AgentID)) | 1336 | if (m_capsHandlers.ContainsKey(agent.AgentID)) |
1336 | { | 1337 | { |
1337 | //MainLog.Instance.Warn("client", "Adding duplicate CAPS entry for user " + | 1338 | //MainLog.Instance.Warn("client", "Adding duplicate CAPS entry for user " + |
1338 | // agent.AgentID.ToStringHyphenated()); | 1339 | // agent.AgentID.ToString()); |
1339 | try | 1340 | try |
1340 | { | 1341 | { |
1341 | m_capsHandlers[agent.AgentID] = cap; | 1342 | m_capsHandlers[agent.AgentID] = cap; |