* Adds defaults for some GetBoolean config values that previously did not have them.

0.6.1-post-fixes
Teravus Ovares 2008-12-20 01:58:01 +00:00
parent 4d26da545d
commit 7af84d7e10
1 changed files with 3 additions and 3 deletions

View File

@ -183,13 +183,13 @@ namespace OpenSim
if (startupConfig != null) if (startupConfig != null)
{ {
m_configSettings.Standalone = !startupConfig.GetBoolean("gridmode"); m_configSettings.Standalone = !startupConfig.GetBoolean("gridmode", false);
m_configSettings.PhysicsEngine = startupConfig.GetString("physics"); m_configSettings.PhysicsEngine = startupConfig.GetString("physics");
m_configSettings.MeshEngineName = startupConfig.GetString("meshing"); m_configSettings.MeshEngineName = startupConfig.GetString("meshing");
m_configSettings.PhysicalPrim = startupConfig.GetBoolean("physical_prim"); m_configSettings.PhysicalPrim = startupConfig.GetBoolean("physical_prim", true);
m_configSettings.See_into_region_from_neighbor = startupConfig.GetBoolean("see_into_this_sim_from_neighbor"); m_configSettings.See_into_region_from_neighbor = startupConfig.GetBoolean("see_into_this_sim_from_neighbor", true);
m_configSettings.StorageDll = startupConfig.GetString("storage_plugin"); m_configSettings.StorageDll = startupConfig.GetString("storage_plugin");
if (m_configSettings.StorageDll == "OpenSim.DataStore.MonoSqlite.dll") if (m_configSettings.StorageDll == "OpenSim.DataStore.MonoSqlite.dll")