aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTeravus Ovares2008-12-20 01:58:01 +0000
committerTeravus Ovares2008-12-20 01:58:01 +0000
commit7af84d7e10863012f5200d46ff75a5826dd87d5c (patch)
tree447ee65457387cf7eaa5378c511de8bc51d0a735
parent* ReCommit the OpenID patch with a few less dependencies. (diff)
downloadopensim-SC_OLD-7af84d7e10863012f5200d46ff75a5826dd87d5c.zip
opensim-SC_OLD-7af84d7e10863012f5200d46ff75a5826dd87d5c.tar.gz
opensim-SC_OLD-7af84d7e10863012f5200d46ff75a5826dd87d5c.tar.bz2
opensim-SC_OLD-7af84d7e10863012f5200d46ff75a5826dd87d5c.tar.xz
* Adds defaults for some GetBoolean config values that previously did not have them.
-rw-r--r--OpenSim/Region/Application/ConfigurationLoader.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Application/ConfigurationLoader.cs b/OpenSim/Region/Application/ConfigurationLoader.cs
index 8df2528..1fed6fc 100644
--- a/OpenSim/Region/Application/ConfigurationLoader.cs
+++ b/OpenSim/Region/Application/ConfigurationLoader.cs
@@ -183,13 +183,13 @@ namespace OpenSim
183 183
184 if (startupConfig != null) 184 if (startupConfig != null)
185 { 185 {
186 m_configSettings.Standalone = !startupConfig.GetBoolean("gridmode"); 186 m_configSettings.Standalone = !startupConfig.GetBoolean("gridmode", false);
187 m_configSettings.PhysicsEngine = startupConfig.GetString("physics"); 187 m_configSettings.PhysicsEngine = startupConfig.GetString("physics");
188 m_configSettings.MeshEngineName = startupConfig.GetString("meshing"); 188 m_configSettings.MeshEngineName = startupConfig.GetString("meshing");
189 189
190 m_configSettings.PhysicalPrim = startupConfig.GetBoolean("physical_prim"); 190 m_configSettings.PhysicalPrim = startupConfig.GetBoolean("physical_prim", true);
191 191
192 m_configSettings.See_into_region_from_neighbor = startupConfig.GetBoolean("see_into_this_sim_from_neighbor"); 192 m_configSettings.See_into_region_from_neighbor = startupConfig.GetBoolean("see_into_this_sim_from_neighbor", true);
193 193
194 m_configSettings.StorageDll = startupConfig.GetString("storage_plugin"); 194 m_configSettings.StorageDll = startupConfig.GetString("storage_plugin");
195 if (m_configSettings.StorageDll == "OpenSim.DataStore.MonoSqlite.dll") 195 if (m_configSettings.StorageDll == "OpenSim.DataStore.MonoSqlite.dll")