From f42522b510e53b03bfc196e328a65808660c6f11 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 1 Dec 2015 16:07:47 +0100 Subject: Fix protocol versions to wearables count mapping --- OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Services/Connectors/Simulation') 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 } // Version stuff - if (ctx.OutboundVersion < 0.4) + if (ctx.OutboundVersion < 0.5) ctx.WearablesCount = AvatarWearable.LEGACY_VERSION_MAX_WEARABLES; + if (ctx.OutboundVersion < 0.6) + ctx.WearablesCount = AvatarWearable.LEGACY_VERSION_MAX_WEARABLES + 1; return success; } -- cgit v1.1