From 7af84d7e10863012f5200d46ff75a5826dd87d5c Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 20 Dec 2008 01:58:01 +0000 Subject: [PATCH] * Adds defaults for some GetBoolean config values that previously did not have them. --- OpenSim/Region/Application/ConfigurationLoader.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/Application/ConfigurationLoader.cs b/OpenSim/Region/Application/ConfigurationLoader.cs index 8df2528a05..1fed6fcf7f 100644 --- a/OpenSim/Region/Application/ConfigurationLoader.cs +++ b/OpenSim/Region/Application/ConfigurationLoader.cs @@ -183,13 +183,13 @@ namespace OpenSim if (startupConfig != null) { - m_configSettings.Standalone = !startupConfig.GetBoolean("gridmode"); + m_configSettings.Standalone = !startupConfig.GetBoolean("gridmode", false); m_configSettings.PhysicsEngine = startupConfig.GetString("physics"); 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"); if (m_configSettings.StorageDll == "OpenSim.DataStore.MonoSqlite.dll")