From 6bb12ab97527eef25c7c99279ce6351420a2abf4 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 2 Nov 2015 00:45:05 +0100 Subject: [PATCH] Set wearables count to max legacy wearables for version < 0.4 --- .../Connectors/Simulation/SimulationServiceConnector.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index 1302a229fc..5dc4897235 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs @@ -392,6 +392,11 @@ namespace OpenSim.Services.Connectors.Simulation foreach (OSD o in array) featuresAvailable.Add(new UUID(o.AsString())); } + + // Version stuff + if (ctx.OutboundVersion < 0.4) + ctx.WearablesCount = AvatarWearable.LEGACY_VERSION_MAX_WEARABLES; + return success; } catch (Exception e)