diff options
author | Melanie Thielker | 2015-11-01 00:40:13 +0100 |
---|---|---|
committer | Melanie Thielker | 2015-11-01 00:40:13 +0100 |
commit | 2198330142c2176f31ba4d2198f831ef00c1dca4 (patch) | |
tree | b9e5dfe1dabaecf4dd7bd3440f3a7887b1690254 | |
parent | Revert "fix transfer protocol version in string format. These are not (diff) | |
download | opensim-SC-2198330142c2176f31ba4d2198f831ef00c1dca4.zip opensim-SC-2198330142c2176f31ba4d2198f831ef00c1dca4.tar.gz opensim-SC-2198330142c2176f31ba4d2198f831ef00c1dca4.tar.bz2 opensim-SC-2198330142c2176f31ba4d2198f831ef00c1dca4.tar.xz |
This is the replacement fix for large regions and string version.
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index 5142514..6e87448 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |||
@@ -260,6 +260,12 @@ namespace OpenSim.Server.Handlers.Simulation | |||
260 | EntityTransferContext ctx = new EntityTransferContext(); | 260 | EntityTransferContext ctx = new EntityTransferContext(); |
261 | ctx.InboundVersion = inboundVersion; | 261 | ctx.InboundVersion = inboundVersion; |
262 | ctx.OutboundVersion = outboundVersion; | 262 | ctx.OutboundVersion = outboundVersion; |
263 | if (minVersionProvided == 0f) | ||
264 | { | ||
265 | ctx.InboundVersion = version; | ||
266 | ctx.OutboundVersion = version; | ||
267 | } | ||
268 | |||
263 | bool result = m_SimulationService.QueryAccess(destination, agentID, agentHomeURI, viaTeleport, position, features, ctx, out reason); | 269 | bool result = m_SimulationService.QueryAccess(destination, agentID, agentHomeURI, viaTeleport, position, features, ctx, out reason); |
264 | 270 | ||
265 | resp["success"] = OSD.FromBoolean(result); | 271 | resp["success"] = OSD.FromBoolean(result); |