Fix protocol versions to wearables count mapping

This commit is contained in:
Melanie Thielker
2015-12-01 16:07:47 +01:00
parent 41072259e4
commit f42522b510

View File

@@ -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;
}