diff options
author | UbitUmarov | 2015-10-31 02:05:11 +0000 |
---|---|---|
committer | UbitUmarov | 2015-10-31 02:05:11 +0000 |
commit | 9232876421cb91dc5550960ab028a6e2f55908be (patch) | |
tree | 06d4cd41e1f6dcf7bbb48a16098c2f737ade3db3 /OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation | |
parent | fix teleport to to string version regions (diff) | |
download | opensim-SC_OLD-9232876421cb91dc5550960ab028a6e2f55908be.zip opensim-SC_OLD-9232876421cb91dc5550960ab028a6e2f55908be.tar.gz opensim-SC_OLD-9232876421cb91dc5550960ab028a6e2f55908be.tar.bz2 opensim-SC_OLD-9232876421cb91dc5550960ab028a6e2f55908be.tar.xz |
let silly tests override version on local connections
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs index 32ac992..8e212d1 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs | |||
@@ -48,7 +48,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation | |||
48 | /// <summary> | 48 | /// <summary> |
49 | /// Version of this service. | 49 | /// Version of this service. |
50 | /// </summary> | 50 | /// </summary> |
51 | public string ServiceVersion { get; set; } | 51 | public float ServiceVersion { get; set; } |
52 | 52 | ||
53 | /// <summary> | 53 | /// <summary> |
54 | /// Map region ID to scene. | 54 | /// Map region ID to scene. |
@@ -81,6 +81,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation | |||
81 | 81 | ||
82 | public void InitialiseService(IConfigSource configSource) | 82 | public void InitialiseService(IConfigSource configSource) |
83 | { | 83 | { |
84 | ServiceVersion = VersionInfo.SimulationServiceVersionAcceptedMax; | ||
84 | } | 85 | } |
85 | 86 | ||
86 | public void PostInitialise() | 87 | public void PostInitialise() |
@@ -252,7 +253,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation | |||
252 | public bool QueryAccess(GridRegion destination, UUID agentID, string agentHomeURI, bool viaTeleport, Vector3 position, List<UUID> features, out float version, out string reason) | 253 | public bool QueryAccess(GridRegion destination, UUID agentID, string agentHomeURI, bool viaTeleport, Vector3 position, List<UUID> features, out float version, out string reason) |
253 | { | 254 | { |
254 | reason = "Communications failure"; | 255 | reason = "Communications failure"; |
255 | version = VersionInfo.SimulationServiceVersionAcceptedMax; // If it's within the process, use max. If it's not, the connector will overwrite this | 256 | version = ServiceVersion; // If it's within the process, use max. If it's not, the connector will overwrite this |
256 | if (destination == null) | 257 | if (destination == null) |
257 | return false; | 258 | return false; |
258 | 259 | ||