aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorMelanie Thielker2015-03-10 01:04:04 +0100
committerMelanie Thielker2015-03-10 01:04:04 +0100
commitb5ac2eb1e1806a826d1c63608641cd7892d4e888 (patch)
tree0f4e2f585afa76b1218c6dd34861269cd97d129d /OpenSim/Region/Application
parentFix content type checking to confirm to newer core versions (diff)
downloadopensim-SC-b5ac2eb1e1806a826d1c63608641cd7892d4e888.zip
opensim-SC-b5ac2eb1e1806a826d1c63608641cd7892d4e888.tar.gz
opensim-SC-b5ac2eb1e1806a826d1c63608641cd7892d4e888.tar.bz2
opensim-SC-b5ac2eb1e1806a826d1c63608641cd7892d4e888.tar.xz
Allow setting the size of the wearables array from config, for core compatibility
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 369e79d..b9b9cd0 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -108,6 +108,7 @@ namespace OpenSim
108 m_timeInterval = startupConfig.GetInt("timer_Interval", 1200); 108 m_timeInterval = startupConfig.GetInt("timer_Interval", 1200);
109 } 109 }
110 110
111 AvatarWearable.MAX_WEARABLES = startupConfig.GetInt("max_wearables", AvatarWearable.MAX_WEARABLES);
111 string asyncCallMethodStr = startupConfig.GetString("async_call_method", String.Empty); 112 string asyncCallMethodStr = startupConfig.GetString("async_call_method", String.Empty);
112 FireAndForgetMethod asyncCallMethod; 113 FireAndForgetMethod asyncCallMethod;
113 if (!String.IsNullOrEmpty(asyncCallMethodStr) && Utils.EnumTryParse<FireAndForgetMethod>(asyncCallMethodStr, out asyncCallMethod)) 114 if (!String.IsNullOrEmpty(asyncCallMethodStr) && Utils.EnumTryParse<FireAndForgetMethod>(asyncCallMethodStr, out asyncCallMethod))