aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2011-10-25 02:14:39 +0100
committerMelanie2011-10-25 02:14:39 +0100
commit353f0c0e03499453dbeb2e39a85fcc99788fedf2 (patch)
tree29fd038531f3b60b8d034edf8b4a2808f78cb70d
parentMerge (diff)
parentmove see_into_this_sim_from_neighbor [Startup] flag parsing into Scene with t... (diff)
downloadopensim-SC_OLD-353f0c0e03499453dbeb2e39a85fcc99788fedf2.zip
opensim-SC_OLD-353f0c0e03499453dbeb2e39a85fcc99788fedf2.tar.gz
opensim-SC_OLD-353f0c0e03499453dbeb2e39a85fcc99788fedf2.tar.bz2
opensim-SC_OLD-353f0c0e03499453dbeb2e39a85fcc99788fedf2.tar.xz
Merge commit 'ddf54b5537f2701deeb615ef8e1eeef20b746ea1' into bigmerge
Conflicts: OpenSim/Region/Framework/Scenes/Scene.cs
-rw-r--r--OpenSim/Framework/ConfigSettings.cs5
-rw-r--r--OpenSim/Region/Application/ConfigurationLoader.cs3
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs5
-rw-r--r--OpenSim/Tests/Common/Helpers/SceneHelpers.cs2
-rw-r--r--OpenSim/Tests/Common/Mock/TestScene.cs8
6 files changed, 8 insertions, 17 deletions
diff --git a/OpenSim/Framework/ConfigSettings.cs b/OpenSim/Framework/ConfigSettings.cs
index 2768f70..002a371 100644
--- a/OpenSim/Framework/ConfigSettings.cs
+++ b/OpenSim/Framework/ConfigSettings.cs
@@ -31,13 +31,8 @@ namespace OpenSim.Framework
31 { 31 {
32 public string PhysicsEngine { get; set; } 32 public string PhysicsEngine { get; set; }
33 public string MeshEngineName { get; set; } 33 public string MeshEngineName { get; set; }
34 public bool See_into_region_from_neighbor { get; set; }
35 public string StorageDll { get; set; } 34 public string StorageDll { get; set; }
36 public string ClientstackDll { get; set; } 35 public string ClientstackDll { get; set; }
37
38
39 public bool PhysicalPrim { get; set; }
40
41 public string LibrariesXMLFile { get; set; } 36 public string LibrariesXMLFile { get; set; }
42 37
43 public const uint DefaultRegionHttpPort = 9000; 38 public const uint DefaultRegionHttpPort = 9000;
diff --git a/OpenSim/Region/Application/ConfigurationLoader.cs b/OpenSim/Region/Application/ConfigurationLoader.cs
index b496108..d0f6ab7 100644
--- a/OpenSim/Region/Application/ConfigurationLoader.cs
+++ b/OpenSim/Region/Application/ConfigurationLoader.cs
@@ -362,9 +362,6 @@ namespace OpenSim
362 { 362 {
363 m_configSettings.PhysicsEngine = startupConfig.GetString("physics"); 363 m_configSettings.PhysicsEngine = startupConfig.GetString("physics");
364 m_configSettings.MeshEngineName = startupConfig.GetString("meshing"); 364 m_configSettings.MeshEngineName = startupConfig.GetString("meshing");
365
366 m_configSettings.See_into_region_from_neighbor = startupConfig.GetBoolean("see_into_this_sim_from_neighbor", true);
367
368 m_configSettings.StorageDll = startupConfig.GetString("storage_plugin"); 365 m_configSettings.StorageDll = startupConfig.GetString("storage_plugin");
369 366
370 m_configSettings.ClientstackDll 367 m_configSettings.ClientstackDll
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 73b60dd..542211a 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -743,7 +743,7 @@ namespace OpenSim
743 return new Scene( 743 return new Scene(
744 regionInfo, circuitManager, sceneGridService, 744 regionInfo, circuitManager, sceneGridService,
745 simDataService, estateDataService, m_moduleLoader, false, 745 simDataService, estateDataService, m_moduleLoader, false,
746 m_configSettings.See_into_region_from_neighbor, m_config.Source, m_version); 746 m_config.Source, m_version);
747 } 747 }
748 748
749 protected void ShutdownClientServer(RegionInfo whichRegion) 749 protected void ShutdownClientServer(RegionInfo whichRegion)
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index c76538f..4776654 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -557,7 +557,7 @@ namespace OpenSim.Region.Framework.Scenes
557 SceneCommunicationService sceneGridService, 557 SceneCommunicationService sceneGridService,
558 ISimulationDataService simDataService, IEstateDataService estateDataService, 558 ISimulationDataService simDataService, IEstateDataService estateDataService,
559 ModuleLoader moduleLoader, bool dumpAssetsToFile, 559 ModuleLoader moduleLoader, bool dumpAssetsToFile,
560 bool SeeIntoRegionFromNeighbor, IConfigSource config, string simulatorVersion) 560 IConfigSource config, string simulatorVersion)
561 : this(regInfo) 561 : this(regInfo)
562 { 562 {
563 m_config = config; 563 m_config = config;
@@ -577,8 +577,6 @@ namespace OpenSim.Region.Framework.Scenes
577 m_lastIncoming = 0; 577 m_lastIncoming = 0;
578 m_lastOutgoing = 0; 578 m_lastOutgoing = 0;
579 579
580 m_seeIntoRegionFromNeighbor = SeeIntoRegionFromNeighbor;
581
582 m_asyncSceneObjectDeleter = new AsyncSceneObjectGroupDeleter(this); 580 m_asyncSceneObjectDeleter = new AsyncSceneObjectGroupDeleter(this);
583 m_asyncSceneObjectDeleter.Enabled = true; 581 m_asyncSceneObjectDeleter.Enabled = true;
584 582
@@ -727,6 +725,7 @@ namespace OpenSim.Region.Framework.Scenes
727 m_clampPrimSize = true; 725 m_clampPrimSize = true;
728 } 726 }
729 727
728 m_seeIntoRegionFromNeighbor = startupConfig.GetBoolean("see_into_this_sim_from_neighbor", true);
730 m_trustBinaries = startupConfig.GetBoolean("TrustBinaries", m_trustBinaries); 729 m_trustBinaries = startupConfig.GetBoolean("TrustBinaries", m_trustBinaries);
731 m_allowScriptCrossings = startupConfig.GetBoolean("AllowScriptCrossing", m_allowScriptCrossings); 730 m_allowScriptCrossings = startupConfig.GetBoolean("AllowScriptCrossing", m_allowScriptCrossings);
732 m_dontPersistBefore = 731 m_dontPersistBefore =
diff --git a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs
index c64270f..d358ae8 100644
--- a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs
+++ b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs
@@ -108,7 +108,7 @@ namespace OpenSim.Tests.Common
108 IConfigSource configSource = new IniConfigSource(); 108 IConfigSource configSource = new IniConfigSource();
109 109
110 TestScene testScene = new TestScene( 110 TestScene testScene = new TestScene(
111 regInfo, acm, scs, simDataService, estateDataService, null, false, false, configSource, null); 111 regInfo, acm, scs, simDataService, estateDataService, null, false, configSource, null);
112 112
113 IRegionModule godsModule = new GodsModule(); 113 IRegionModule godsModule = new GodsModule();
114 godsModule.Initialise(testScene, new IniConfigSource()); 114 godsModule.Initialise(testScene, new IniConfigSource());
diff --git a/OpenSim/Tests/Common/Mock/TestScene.cs b/OpenSim/Tests/Common/Mock/TestScene.cs
index f0e65c5..07bcdce 100644
--- a/OpenSim/Tests/Common/Mock/TestScene.cs
+++ b/OpenSim/Tests/Common/Mock/TestScene.cs
@@ -42,18 +42,18 @@ namespace OpenSim.Tests.Common.Mock
42 RegionInfo regInfo, AgentCircuitManager authen, 42 RegionInfo regInfo, AgentCircuitManager authen,
43 SceneCommunicationService sceneGridService, ISimulationDataService simDataService, IEstateDataService estateDataService, 43 SceneCommunicationService sceneGridService, ISimulationDataService simDataService, IEstateDataService estateDataService,
44 ModuleLoader moduleLoader, bool dumpAssetsToFile, 44 ModuleLoader moduleLoader, bool dumpAssetsToFile,
45 bool SeeIntoRegionFromNeighbor, IConfigSource config, string simulatorVersion) 45 IConfigSource config, string simulatorVersion)
46 : base(regInfo, authen, sceneGridService, simDataService, estateDataService, moduleLoader, 46 : base(regInfo, authen, sceneGridService, simDataService, estateDataService, moduleLoader,
47 dumpAssetsToFile, SeeIntoRegionFromNeighbor, config, simulatorVersion) 47 dumpAssetsToFile, config, simulatorVersion)
48 { 48 {
49 } 49 }
50 50
51 /// <summary> 51 /// <summary>
52 /// Temporarily override session authentication for tests (namely teleport). 52 /// Temporarily override session authentication for tests (namely teleport).
53 /// </summary> 53 /// </summary>
54 /// 54 /// <remarks>
55 /// TODO: This needs to be mocked out properly. 55 /// TODO: This needs to be mocked out properly.
56 /// 56 /// </remarks>
57 /// <param name="agent"></param> 57 /// <param name="agent"></param>
58 /// <returns></returns> 58 /// <returns></returns>
59 public override bool VerifyUserPresence(AgentCircuitData agent, out string reason) 59 public override bool VerifyUserPresence(AgentCircuitData agent, out string reason)