aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie2011-11-01 23:54:09 +0000
committerMelanie2011-11-01 23:54:09 +0000
commitb69f679122fb7fdc0f77fc198e148f42797a2eef (patch)
treee06d4f4572a91a58c79c03c60b0fca5574467834 /OpenSim/Region/Framework
parentMerge branch 'master' into bigmerge (diff)
parentRemoved see_into_this_sim_from_neighbor configuration option. (diff)
downloadopensim-SC_OLD-b69f679122fb7fdc0f77fc198e148f42797a2eef.zip
opensim-SC_OLD-b69f679122fb7fdc0f77fc198e148f42797a2eef.tar.gz
opensim-SC_OLD-b69f679122fb7fdc0f77fc198e148f42797a2eef.tar.bz2
opensim-SC_OLD-b69f679122fb7fdc0f77fc198e148f42797a2eef.tar.xz
Merge branch 'master' into bigmerge
Conflicts: OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs37
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneBase.cs21
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs6
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneViewer.cs2
4 files changed, 4 insertions, 62 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 0360942..c162519 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -86,7 +86,6 @@ namespace OpenSim.Region.Framework.Scenes
86 public bool m_allowScriptCrossings; 86 public bool m_allowScriptCrossings;
87 public bool m_useFlySlow; 87 public bool m_useFlySlow;
88 public bool m_usePreJump; 88 public bool m_usePreJump;
89 public bool m_seeIntoRegionFromNeighbor;
90 89
91 protected float m_defaultDrawDistance = 255.0f; 90 protected float m_defaultDrawDistance = 255.0f;
92 public float DefaultDrawDistance 91 public float DefaultDrawDistance
@@ -660,14 +659,6 @@ namespace OpenSim.Region.Framework.Scenes
660 659
661 m_physics_enabled = !RegionInfo.RegionSettings.DisablePhysics; 660 m_physics_enabled = !RegionInfo.RegionSettings.DisablePhysics;
662 661
663 // Old
664 /*
665 m_simulatorVersion = simulatorVersion
666 + " (OS " + Util.GetOperatingSystemInformation() + ")"
667 + " ChilTasks:" + m_seeIntoRegionFromNeighbor.ToString()
668 + " PhysPrim:" + m_physicalPrim.ToString();
669 */
670
671 m_simulatorVersion = simulatorVersion + " (" + Util.GetRuntimeInformation() + ")"; 662 m_simulatorVersion = simulatorVersion + " (" + Util.GetRuntimeInformation() + ")";
672 663
673 #region Region Config 664 #region Region Config
@@ -714,7 +705,6 @@ namespace OpenSim.Region.Framework.Scenes
714 m_clampPrimSize = true; 705 m_clampPrimSize = true;
715 } 706 }
716 707
717 m_seeIntoRegionFromNeighbor = startupConfig.GetBoolean("see_into_this_sim_from_neighbor", true);
718 m_trustBinaries = startupConfig.GetBoolean("TrustBinaries", m_trustBinaries); 708 m_trustBinaries = startupConfig.GetBoolean("TrustBinaries", m_trustBinaries);
719 m_allowScriptCrossings = startupConfig.GetBoolean("AllowScriptCrossing", m_allowScriptCrossings); 709 m_allowScriptCrossings = startupConfig.GetBoolean("AllowScriptCrossing", m_allowScriptCrossings);
720 m_dontPersistBefore = 710 m_dontPersistBefore =
@@ -4201,33 +4191,6 @@ namespace OpenSim.Region.Framework.Scenes
4201 } 4191 }
4202 } 4192 }
4203 4193
4204 public override void Show(string[] showParams)
4205 {
4206 base.Show(showParams);
4207
4208 switch (showParams[0])
4209 {
4210 case "users":
4211 m_log.Error("Current Region: " + RegionInfo.RegionName);
4212 m_log.ErrorFormat("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16}{5,-16}{6,-16}", "Firstname", "Lastname",
4213 "Agent ID", "Session ID", "Circuit", "IP", "World");
4214
4215 ForEachScenePresence(delegate(ScenePresence sp)
4216 {
4217 m_log.ErrorFormat("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16},{5,-16}{6,-16}",
4218 sp.Firstname,
4219 sp.Lastname,
4220 sp.UUID,
4221 sp.ControllingClient.AgentId,
4222 "Unknown",
4223 "Unknown",
4224 RegionInfo.RegionName);
4225 });
4226
4227 break;
4228 }
4229 }
4230
4231 #region Script Handling Methods 4194 #region Script Handling Methods
4232 4195
4233 /// <summary> 4196 /// <summary>
diff --git a/OpenSim/Region/Framework/Scenes/SceneBase.cs b/OpenSim/Region/Framework/Scenes/SceneBase.cs
index bf861b8..73e9392 100644
--- a/OpenSim/Region/Framework/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneBase.cs
@@ -458,27 +458,6 @@ namespace OpenSim.Region.Framework.Scenes
458 #endregion 458 #endregion
459 459
460 /// <summary> 460 /// <summary>
461 /// Shows various details about the sim based on the parameters supplied by the console command in openSimMain.
462 /// </summary>
463 /// <param name="showParams">What to show</param>
464 public virtual void Show(string[] showParams)
465 {
466 switch (showParams[0])
467 {
468 case "modules":
469 m_log.Error("The currently loaded modules in " + RegionInfo.RegionName + " are:");
470 foreach (IRegionModule module in Modules.Values)
471 {
472 if (!module.IsSharedModule)
473 {
474 m_log.Error("Region Module: " + module.Name);
475 }
476 }
477 break;
478 }
479 }
480
481 /// <summary>
482 /// Call this from a region module to add a command to the OpenSim console. 461 /// Call this from a region module to add a command to the OpenSim console.
483 /// </summary> 462 /// </summary>
484 /// <param name="mod"></param> 463 /// <param name="mod"></param>
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index d8939fc..bba746f 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2927,7 +2927,7 @@ namespace OpenSim.Region.Framework.Scenes
2927 // only send update from root agents to other clients; children are only "listening posts" 2927 // only send update from root agents to other clients; children are only "listening posts"
2928 if (IsChildAgent) 2928 if (IsChildAgent)
2929 { 2929 {
2930 m_log.Warn("[SCENE PRESENCE] attempt to send avatar data from a child agent"); 2930 m_log.Warn("[SCENE PRESENCE]: Attempt to send avatar data from a child agent");
2931 return; 2931 return;
2932 } 2932 }
2933 2933
@@ -2984,10 +2984,10 @@ namespace OpenSim.Region.Framework.Scenes
2984 // only send update from root agents to other clients; children are only "listening posts" 2984 // only send update from root agents to other clients; children are only "listening posts"
2985 if (IsChildAgent) 2985 if (IsChildAgent)
2986 { 2986 {
2987 m_log.Warn("[SCENE PRESENCE] attempt to send avatar data from a child agent"); 2987 m_log.Warn("[SCENE PRESENCE]: Attempt to send avatar data from a child agent");
2988 return; 2988 return;
2989 } 2989 }
2990 2990
2991 int count = 0; 2991 int count = 0;
2992 m_scene.ForEachScenePresence(delegate(ScenePresence scenePresence) 2992 m_scene.ForEachScenePresence(delegate(ScenePresence scenePresence)
2993 { 2993 {
diff --git a/OpenSim/Region/Framework/Scenes/SceneViewer.cs b/OpenSim/Region/Framework/Scenes/SceneViewer.cs
index 8a0d288..092b76e 100644
--- a/OpenSim/Region/Framework/Scenes/SceneViewer.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneViewer.cs
@@ -84,7 +84,7 @@ namespace OpenSim.Region.Framework.Scenes
84 { 84 {
85 if (m_pendingObjects == null) 85 if (m_pendingObjects == null)
86 { 86 {
87 if (!m_presence.IsChildAgent || (m_presence.Scene.m_seeIntoRegionFromNeighbor)) 87 if (!m_presence.IsChildAgent)
88 { 88 {
89 m_pendingObjects = new Queue<SceneObjectGroup>(); 89 m_pendingObjects = new Queue<SceneObjectGroup>();
90 90