aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorDahlia Trimble2009-03-11 09:31:02 +0000
committerDahlia Trimble2009-03-11 09:31:02 +0000
commit669aa46bff3bf0ced71658b8782635ac4aef73e9 (patch)
tree246adeff8c4ba2f6afdd063286f788578e0fe611 /OpenSim/Region/Framework/Scenes
parentFrom: Alan M Webb <alan_webb@us.ibm.com> (diff)
downloadopensim-SC_OLD-669aa46bff3bf0ced71658b8782635ac4aef73e9.zip
opensim-SC_OLD-669aa46bff3bf0ced71658b8782635ac4aef73e9.tar.gz
opensim-SC_OLD-669aa46bff3bf0ced71658b8782635ac4aef73e9.tar.bz2
opensim-SC_OLD-669aa46bff3bf0ced71658b8782635ac4aef73e9.tar.xz
update some ini defaults in code - all defaults from beginning of OpenSim.ini.example thru DefaultScriptEngine = "XEngine"
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 5cb9724..08a4a7c 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -81,7 +81,7 @@ namespace OpenSim.Region.Framework.Scenes
81 /// Are we applying physics to any of the prims in this scene? 81 /// Are we applying physics to any of the prims in this scene?
82 /// </summary> 82 /// </summary>
83 public bool m_physicalPrim; 83 public bool m_physicalPrim;
84 public float m_maxNonphys = 65536; 84 public float m_maxNonphys = 256;
85 public float m_maxPhys = 10; 85 public float m_maxPhys = 10;
86 public bool m_clampPrimSize = false; 86 public bool m_clampPrimSize = false;
87 public bool m_trustBinaries = false; 87 public bool m_trustBinaries = false;
@@ -342,11 +342,11 @@ namespace OpenSim.Region.Framework.Scenes
342 // Region config overrides global config 342 // Region config overrides global config
343 // 343 //
344 IConfig startupConfig = m_config.Configs["Startup"]; 344 IConfig startupConfig = m_config.Configs["Startup"];
345 m_maxNonphys = startupConfig.GetFloat("NonPhysicalPrimMax", 65536.0f); 345 m_maxNonphys = startupConfig.GetFloat("NonPhysicalPrimMax", m_maxNonphys);
346 if (RegionInfo.NonphysPrimMax > 0) 346 if (RegionInfo.NonphysPrimMax > 0)
347 m_maxNonphys = RegionInfo.NonphysPrimMax; 347 m_maxNonphys = RegionInfo.NonphysPrimMax;
348 348
349 m_maxPhys = startupConfig.GetFloat("PhysicalPrimMax", 10.0f); 349 m_maxPhys = startupConfig.GetFloat("PhysicalPrimMax", m_maxPhys);
350 350
351 if (RegionInfo.PhysPrimMax > 0) 351 if (RegionInfo.PhysPrimMax > 0)
352 m_maxPhys = RegionInfo.PhysPrimMax; 352 m_maxPhys = RegionInfo.PhysPrimMax;
@@ -354,12 +354,12 @@ namespace OpenSim.Region.Framework.Scenes
354 // Here, if clamping is requested in either global or 354 // Here, if clamping is requested in either global or
355 // local config, it will be used 355 // local config, it will be used
356 // 356 //
357 m_clampPrimSize = startupConfig.GetBoolean("ClampPrimSize", false); 357 m_clampPrimSize = startupConfig.GetBoolean("ClampPrimSize", m_clampPrimSize);
358 if (RegionInfo.ClampPrimSize) 358 if (RegionInfo.ClampPrimSize)
359 m_clampPrimSize = true; 359 m_clampPrimSize = true;
360 360
361 m_trustBinaries = startupConfig.GetBoolean("TrustBinaries", false); 361 m_trustBinaries = startupConfig.GetBoolean("TrustBinaries", m_trustBinaries);
362 m_allowScriptCrossings = startupConfig.GetBoolean("AllowScriptCrossing", false); 362 m_allowScriptCrossings = startupConfig.GetBoolean("AllowScriptCrossing", m_allowScriptCrossings);
363 m_dontPersistBefore = 363 m_dontPersistBefore =
364 startupConfig.GetLong("MinimumTimeBeforePersistenceConsidered", DEFAULT_MIN_TIME_FOR_PERSISTENCE); 364 startupConfig.GetLong("MinimumTimeBeforePersistenceConsidered", DEFAULT_MIN_TIME_FOR_PERSISTENCE);
365 m_dontPersistBefore *= 10000000; 365 m_dontPersistBefore *= 10000000;