From b1c4f6915439c8f3469ba6933472ccf96463af59 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 1 Dec 2015 19:49:27 +0000 Subject: [PATCH] fix protocol version to max wearables mapping --- .../Connectors/Simulation/SimulationServiceConnector.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index 399996e39d..89a47fe93b 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs @@ -396,8 +396,10 @@ namespace OpenSim.Services.Connectors.Simulation // Version stuff if (ctx.OutboundVersion < 0.5) ctx.WearablesCount = AvatarWearable.LEGACY_VERSION_MAX_WEARABLES; - if (ctx.OutboundVersion < 0.6) + else if (ctx.OutboundVersion < 0.6) ctx.WearablesCount = AvatarWearable.LEGACY_VERSION_MAX_WEARABLES + 1; + else + ctx.WearablesCount = -1; // send all (just in case..) return success; }