From 9263f07d7017a34edbea07a8f39c8936b4690f66 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 21 May 2008 23:52:02 +0000 Subject: * Send VersionInfo string instead of the hardcoded Scene string to the "About Second Life" box * This is the same string as printed out on the opensim region console at startup, so it should now include the svn revision number (if available) * This dialog box takes an awful long time to come up on my local system - no idea why that is. However, that also seems to have been the case before this revision. --- OpenSim/Region/Environment/Scenes/Scene.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 250c884..a6042c3 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -35,6 +35,7 @@ using Axiom.Math; using libsecondlife; using libsecondlife.Packets; using OpenJPEGNet; +using OpenSim; using OpenSim.Framework; using OpenSim.Framework.Communications; using OpenSim.Framework.Communications.Cache; @@ -86,7 +87,7 @@ namespace OpenSim.Region.Environment.Scenes private int m_incrementsof15seconds = 0; private volatile bool m_backingup = false; - public string m_simulatorVersion = "OpenSimulator 0.5"; + protected string m_simulatorVersion = VersionInfo.Version; protected ModuleLoader m_moduleLoader; protected StorageManager m_storageManager; @@ -307,7 +308,9 @@ namespace OpenSim.Region.Environment.Scenes OSString = OSString.Substring(0, 45); } - m_simulatorVersion = "OpenSimulator v0.5-SVN on " + OSString + " ChilTasks:" + m_seeIntoRegionFromNeighbor.ToString() + " PhysPrim:" + m_physicalPrim.ToString(); +// m_simulatorVersion += " on " + OSString +// + " ChilTasks:" + m_seeIntoRegionFromNeighbor.ToString() +// + " PhysPrim:" + m_physicalPrim.ToString(); } #endregion -- cgit v1.1