aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-01-05 21:21:15 +0000
committerUbitUmarov2017-01-05 21:21:15 +0000
commit1fb01a009925f6c5d55f9f485a6d151b3b981f40 (patch)
treee4d049b30f06df07d1ddc5b72bb4e8499866bea2 /OpenSim/Region/Framework/Scenes/Scene.cs
parentremove code i started but didn't finish (diff)
downloadopensim-SC-1fb01a009925f6c5d55f9f485a6d151b3b981f40.zip
opensim-SC-1fb01a009925f6c5d55f9f485a6d151b3b981f40.tar.gz
opensim-SC-1fb01a009925f6c5d55f9f485a6d151b3b981f40.tar.bz2
opensim-SC-1fb01a009925f6c5d55f9f485a6d151b3b981f40.tar.xz
add config option automatic_gods. With this option true, users that can be Gods will have that level automaticly without the need request on viewer; Propagate current god level to nearby regions (with local checks)
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/Scene.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 352bc05..a293c92 100755
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -316,6 +316,8 @@ namespace OpenSim.Region.Framework.Scenes
316 public bool m_seeIntoBannedRegion = false; 316 public bool m_seeIntoBannedRegion = false;
317 public int MaxUndoCount = 5; 317 public int MaxUndoCount = 5;
318 318
319 public bool AutomaticGodsOption {get; private set; }
320
319 public bool SeeIntoRegion { get; set; } 321 public bool SeeIntoRegion { get; set; }
320 322
321 // Using this for RegionReady module to prevent LoginsDisabled from changing under our feet; 323 // Using this for RegionReady module to prevent LoginsDisabled from changing under our feet;
@@ -1207,6 +1209,8 @@ namespace OpenSim.Region.Framework.Scenes
1207 1209
1208 #endregion Interest Management 1210 #endregion Interest Management
1209 1211
1212 AutomaticGodsOption = Util.GetConfigVarFromSections<bool>(config, "automatic_gods",
1213 new string[] { "Startup", "Permissions" }, true);
1210 1214
1211 StatsReporter = new SimStatsReporter(this); 1215 StatsReporter = new SimStatsReporter(this);
1212 1216