Clean up of simulation version, the number that rules the compatibility of teleports:

- It's not configurable anymore, it's fixed in code. Each number means an increase in features of the teleport procedure
- Its definition moved to the global VersionInfo class
As of now it's still 0.3.
This commit is contained in:
Diva Canto
2015-10-18 16:06:31 -07:00
parent 339e252cce
commit 70a46fe090
9 changed files with 36 additions and 121 deletions

View File

@@ -454,9 +454,10 @@ namespace OpenSim.Services.HypergridService
string version;
string myversion = String.Format("SIMULATION/{0}", VersionInfo.SimulationServiceVersion);
if (!m_SimulationService.QueryAccess(
destination, aCircuit.AgentID, aCircuit.ServiceURLs["HomeURI"].ToString(),
true, aCircuit.startpos, "SIMULATION/0.3", new List<UUID>(), out version, out reason))
true, aCircuit.startpos, myversion, new List<UUID>(), out version, out reason))
return false;
return m_SimulationService.CreateAgent(source, destination, aCircuit, (uint)loginFlag, out reason);