aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs9
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs2
2 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index 60c6127..427fc70 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -240,7 +240,16 @@ namespace OpenSim
240 { 240 {
241 config.Set("enabled", "false"); 241 config.Set("enabled", "false");
242 } 242 }
243
244 if (DefaultConfig.Configs["Voice"] == null)
245 DefaultConfig.AddConfig("Voice");
246 config = DefaultConfig.Configs["Voice"];
247 if (config != null)
248 {
249 config.Set("enabled", "false");
250 }
243 return DefaultConfig; 251 return DefaultConfig;
252
244 } 253 }
245 254
246 protected void ReadConfigSettings() 255 protected void ReadConfigSettings()
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 2f277f9..2fa0459 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1590,6 +1590,7 @@ namespace OpenSim.Region.Environment.Scenes
1590 //m_log.InfoFormat("[SCENE] Memory pre GC {0}", System.GC.GetTotalMemory(false)); 1590 //m_log.InfoFormat("[SCENE] Memory pre GC {0}", System.GC.GetTotalMemory(false));
1591 //m_log.InfoFormat("[SCENE] Memory post GC {0}", System.GC.GetTotalMemory(true)); 1591 //m_log.InfoFormat("[SCENE] Memory post GC {0}", System.GC.GetTotalMemory(true));
1592 } 1592 }
1593
1593 public void HandleRemoveKnownRegionsFromAvatar(LLUUID avatarID, List<ulong> regionslst) 1594 public void HandleRemoveKnownRegionsFromAvatar(LLUUID avatarID, List<ulong> regionslst)
1594 { 1595 {
1595 ScenePresence av = GetScenePresence(avatarID); 1596 ScenePresence av = GetScenePresence(avatarID);
@@ -1740,6 +1741,7 @@ namespace OpenSim.Region.Environment.Scenes
1740 cap.ItemUpdatedCall = CapsUpdateInventoryItemAsset; 1741 cap.ItemUpdatedCall = CapsUpdateInventoryItemAsset;
1741 cap.TaskScriptUpdatedCall = CapsUpdateTaskInventoryScriptAsset; 1742 cap.TaskScriptUpdatedCall = CapsUpdateTaskInventoryScriptAsset;
1742 cap.CAPSFetchInventoryDescendents = CommsManager.UserProfileCacheService.HandleFetchInventoryDescendentsCAPS; 1743 cap.CAPSFetchInventoryDescendents = CommsManager.UserProfileCacheService.HandleFetchInventoryDescendentsCAPS;
1744 cap.CAPSGetUserDetails = CommsManager.UserProfileCacheService.GetUserDetails;
1743 1745
1744 m_capsHandlers[agentId] = cap; 1746 m_capsHandlers[agentId] = cap;
1745 } 1747 }