diff options
author | Diva Canto | 2015-10-18 16:06:31 -0700 |
---|---|---|
committer | Diva Canto | 2015-10-18 16:06:31 -0700 |
commit | 70a46fe0907c822a5244e36c338bf559ffbec965 (patch) | |
tree | 6b275cb6256e90e000cbef4b3ce00380912dda99 /OpenSim/Services/LLLoginService/LLLoginService.cs | |
parent | The protocol version checking on the grid server connector seemed to have a b... (diff) | |
download | opensim-SC-70a46fe0907c822a5244e36c338bf559ffbec965.zip opensim-SC-70a46fe0907c822a5244e36c338bf559ffbec965.tar.gz opensim-SC-70a46fe0907c822a5244e36c338bf559ffbec965.tar.bz2 opensim-SC-70a46fe0907c822a5244e36c338bf559ffbec965.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index 10c2e8c..9e12f9d 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -983,11 +983,11 @@ namespace OpenSim.Services.LLLoginService | |||
983 | 983 | ||
984 | private bool LaunchAgentDirectly(ISimulationService simConnector, GridRegion region, AgentCircuitData aCircuit, TeleportFlags flags, out string reason) | 984 | private bool LaunchAgentDirectly(ISimulationService simConnector, GridRegion region, AgentCircuitData aCircuit, TeleportFlags flags, out string reason) |
985 | { | 985 | { |
986 | string myversion = String.Format("SIMULATION/{0}", VersionInfo.SimulationServiceVersion); | ||
986 | string version; | 987 | string version; |
987 | 988 | ||
988 | if ( | 989 | if (!simConnector.QueryAccess( |
989 | !simConnector.QueryAccess( | 990 | region, aCircuit.AgentID, null, true, aCircuit.startpos, myversion, new List<UUID>(), out version, out reason)) |
990 | region, aCircuit.AgentID, null, true, aCircuit.startpos, "SIMULATION/0.3", new List<UUID>(), out version, out reason)) | ||
991 | return false; | 991 | return false; |
992 | 992 | ||
993 | return simConnector.CreateAgent(null, region, aCircuit, (uint)flags, out reason); | 993 | return simConnector.CreateAgent(null, region, aCircuit, (uint)flags, out reason); |