Set wearables count to max legacy wearables for version < 0.4

avinationmerge
Melanie Thielker 2015-11-02 00:45:05 +01:00
parent f88e4a1ec9
commit 6bb12ab975
1 changed files with 5 additions and 0 deletions

View File

@ -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)