diff options
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 714a777..2b59e5d 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -132,6 +132,13 @@ namespace OpenSim | |||
132 | } | 132 | } |
133 | } | 133 | } |
134 | 134 | ||
135 | private string GetActualSimName() | ||
136 | { | ||
137 | if (m_sceneManager.CurrentScene == null) return "Root"; | ||
138 | return m_sceneManager.CurrentScene.RegionInfo.RegionName; | ||
139 | } | ||
140 | |||
141 | |||
135 | #region Console Commands | 142 | #region Console Commands |
136 | 143 | ||
137 | private void RunEchoTest(string[] cmdparams) | 144 | private void RunEchoTest(string[] cmdparams) |
@@ -284,8 +291,10 @@ namespace OpenSim | |||
284 | m_console.Notice("create user - adds a new user."); | 291 | m_console.Notice("create user - adds a new user."); |
285 | } | 292 | } |
286 | 293 | ||
294 | |||
295 | m_console.Notice(""); | ||
296 | m_console.Notice("Serving region " + GetActualSimName()); | ||
287 | m_console.Notice(""); | 297 | m_console.Notice(""); |
288 | |||
289 | break; | 298 | break; |
290 | 299 | ||
291 | case "save-xml": | 300 | case "save-xml": |
@@ -665,6 +674,9 @@ namespace OpenSim | |||
665 | }); | 674 | }); |
666 | break; | 675 | break; |
667 | } | 676 | } |
677 | m_console.Notice(""); | ||
678 | m_console.Notice("Serving region " + GetActualSimName()); | ||
679 | m_console.Notice(""); | ||
668 | } | 680 | } |
669 | 681 | ||
670 | /// <summary> | 682 | /// <summary> |