aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2015-12-01 16:07:47 +0100
committerMelanie Thielker2015-12-01 16:07:47 +0100
commitf42522b510e53b03bfc196e328a65808660c6f11 (patch)
tree6e2a0db340be4c50aafb5c5114ec7647adddaf65
parentChange protocol version max to 0.6 (diff)
downloadopensim-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.cs4
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 }