aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorDan Lake2011-10-31 16:42:28 -0700
committerDan Lake2011-10-31 16:42:28 -0700
commit3c55f3015f5c9bffa3580abf310fc52598fd7d6f (patch)
treef17a1cdc4a03eb1d05536fab310206c7e856bcfb /OpenSim/Region/Framework
parentMerge branch 'master' of git://opensimulator.org/git/opensim (diff)
downloadopensim-SC_OLD-3c55f3015f5c9bffa3580abf310fc52598fd7d6f.zip
opensim-SC_OLD-3c55f3015f5c9bffa3580abf310fc52598fd7d6f.tar.gz
opensim-SC_OLD-3c55f3015f5c9bffa3580abf310fc52598fd7d6f.tar.bz2
opensim-SC_OLD-3c55f3015f5c9bffa3580abf310fc52598fd7d6f.tar.xz
Removed unused show commands from Scene.cs and SceneBase.cs. The show modules command in OpenSim.cs now shows both shared modules and region modules.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs27
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneBase.cs21
2 files changed, 0 insertions, 48 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 7a5160c..e054f1b 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4028,33 +4028,6 @@ namespace OpenSim.Region.Framework.Scenes
4028 } 4028 }
4029 } 4029 }
4030 4030
4031 public override void Show(string[] showParams)
4032 {
4033 base.Show(showParams);
4034
4035 switch (showParams[0])
4036 {
4037 case "users":
4038 m_log.Error("Current Region: " + RegionInfo.RegionName);
4039 m_log.ErrorFormat("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16}{5,-16}{6,-16}", "Firstname", "Lastname",
4040 "Agent ID", "Session ID", "Circuit", "IP", "World");
4041
4042 ForEachScenePresence(delegate(ScenePresence sp)
4043 {
4044 m_log.ErrorFormat("{0,-16}{1,-16}{2,-25}{3,-25}{4,-16},{5,-16}{6,-16}",
4045 sp.Firstname,
4046 sp.Lastname,
4047 sp.UUID,
4048 sp.ControllingClient.AgentId,
4049 "Unknown",
4050 "Unknown",
4051 RegionInfo.RegionName);
4052 });
4053
4054 break;
4055 }
4056 }
4057
4058 #region Script Handling Methods 4031 #region Script Handling Methods
4059 4032
4060 /// <summary> 4033 /// <summary>
diff --git a/OpenSim/Region/Framework/Scenes/SceneBase.cs b/OpenSim/Region/Framework/Scenes/SceneBase.cs
index ec94f10..dee2ecb 100644
--- a/OpenSim/Region/Framework/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneBase.cs
@@ -456,27 +456,6 @@ namespace OpenSim.Region.Framework.Scenes
456 #endregion 456 #endregion
457 457
458 /// <summary> 458 /// <summary>
459 /// Shows various details about the sim based on the parameters supplied by the console command in openSimMain.
460 /// </summary>
461 /// <param name="showParams">What to show</param>
462 public virtual void Show(string[] showParams)
463 {
464 switch (showParams[0])
465 {
466 case "modules":
467 m_log.Error("The currently loaded modules in " + RegionInfo.RegionName + " are:");
468 foreach (IRegionModule module in Modules.Values)
469 {
470 if (!module.IsSharedModule)
471 {
472 m_log.Error("Region Module: " + module.Name);
473 }
474 }
475 break;
476 }
477 }
478
479 /// <summary>
480 /// Call this from a region module to add a command to the OpenSim console. 459 /// Call this from a region module to add a command to the OpenSim console.
481 /// </summary> 460 /// </summary>
482 /// <param name="mod"></param> 461 /// <param name="mod"></param>