aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-22 00:32:04 +0000
committerJustin Clarke Casey2008-05-22 00:32:04 +0000
commit203017f5540f801c25f8345dd8ca30f0bc4de2f8 (patch)
treefc15222a4207e9147e8ee39559cac8e827102a10 /OpenSim/Region/Environment/Scenes
parent* Fix circular dependency from last checkin by passing version as a parameter... (diff)
downloadopensim-SC-203017f5540f801c25f8345dd8ca30f0bc4de2f8.zip
opensim-SC-203017f5540f801c25f8345dd8ca30f0bc4de2f8.tar.gz
opensim-SC-203017f5540f801c25f8345dd8ca30f0bc4de2f8.tar.bz2
opensim-SC-203017f5540f801c25f8345dd8ca30f0bc4de2f8.tar.xz
* Refactor: Move enhancement of version string with operating system information from Scene to OpenSimMain
* This also means the operating system info will show up in the region console (and hence the logs)
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs17
1 files changed, 1 insertions, 16 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index a980ce1..231c0dc 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -293,22 +293,7 @@ namespace OpenSim.Region.Environment.Scenes
293 293
294 m_statsReporter.SetObjectCapacity(objectCapacity); 294 m_statsReporter.SetObjectCapacity(objectCapacity);
295 295
296 string OSString = ""; 296 m_simulatorVersion = simulatorVersion
297
298 if (System.Environment.OSVersion.Platform != PlatformID.Unix)
299 {
300 OSString = System.Environment.OSVersion.ToString();
301 }
302 else
303 {
304 OSString = Util.ReadEtcIssue();
305 }
306 if (OSString.Length > 45)
307 {
308 OSString = OSString.Substring(0, 45);
309 }
310
311 m_simulatorVersion = simulatorVersion + " on " + OSString
312 + " ChilTasks:" + m_seeIntoRegionFromNeighbor.ToString() 297 + " ChilTasks:" + m_seeIntoRegionFromNeighbor.ToString()
313 + " PhysPrim:" + m_physicalPrim.ToString(); 298 + " PhysPrim:" + m_physicalPrim.ToString();
314 } 299 }