diff options
author | Melanie Thielker | 2015-12-01 16:07:47 +0100 |
---|---|---|
committer | Melanie Thielker | 2015-12-01 16:07:47 +0100 |
commit | f42522b510e53b03bfc196e328a65808660c6f11 (patch) | |
tree | 6e2a0db340be4c50aafb5c5114ec7647adddaf65 | |
parent | Change protocol version max to 0.6 (diff) | |
download | opensim-SC_OLD-f42522b510e53b03bfc196e328a65808660c6f11.zip opensim-SC_OLD-f42522b510e53b03bfc196e328a65808660c6f11.tar.gz opensim-SC_OLD-f42522b510e53b03bfc196e328a65808660c6f11.tar.bz2 opensim-SC_OLD-f42522b510e53b03bfc196e328a65808660c6f11.tar.xz |
Fix protocol versions to wearables count mapping
-rw-r--r-- | OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index 5dc4897..399996e 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | |||
@@ -394,8 +394,10 @@ namespace OpenSim.Services.Connectors.Simulation | |||
394 | } | 394 | } |
395 | 395 | ||
396 | // Version stuff | 396 | // Version stuff |
397 | if (ctx.OutboundVersion < 0.4) | 397 | if (ctx.OutboundVersion < 0.5) |
398 | ctx.WearablesCount = AvatarWearable.LEGACY_VERSION_MAX_WEARABLES; | 398 | ctx.WearablesCount = AvatarWearable.LEGACY_VERSION_MAX_WEARABLES; |
399 | if (ctx.OutboundVersion < 0.6) | ||
400 | ctx.WearablesCount = AvatarWearable.LEGACY_VERSION_MAX_WEARABLES + 1; | ||
399 | 401 | ||
400 | return success; | 402 | return success; |
401 | } | 403 | } |