diff options
author | Melanie Thielker | 2015-11-02 00:45:05 +0100 |
---|---|---|
committer | Melanie Thielker | 2015-11-02 00:45:05 +0100 |
commit | 6bb12ab97527eef25c7c99279ce6351420a2abf4 (patch) | |
tree | f62df8a9b9aead965dfd87255c278e613107cb86 /OpenSim/Services/Connectors | |
parent | Plumb the rest of the context stuff. Well, what I see so far anyway (diff) | |
download | opensim-SC_OLD-6bb12ab97527eef25c7c99279ce6351420a2abf4.zip opensim-SC_OLD-6bb12ab97527eef25c7c99279ce6351420a2abf4.tar.gz opensim-SC_OLD-6bb12ab97527eef25c7c99279ce6351420a2abf4.tar.bz2 opensim-SC_OLD-6bb12ab97527eef25c7c99279ce6351420a2abf4.tar.xz |
Set wearables count to max legacy wearables for version < 0.4
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r-- | OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index 1302a22..5dc4897 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | |||
@@ -392,6 +392,11 @@ namespace OpenSim.Services.Connectors.Simulation | |||
392 | foreach (OSD o in array) | 392 | foreach (OSD o in array) |
393 | featuresAvailable.Add(new UUID(o.AsString())); | 393 | featuresAvailable.Add(new UUID(o.AsString())); |
394 | } | 394 | } |
395 | |||
396 | // Version stuff | ||
397 | if (ctx.OutboundVersion < 0.4) | ||
398 | ctx.WearablesCount = AvatarWearable.LEGACY_VERSION_MAX_WEARABLES; | ||
399 | |||
395 | return success; | 400 | return success; |
396 | } | 401 | } |
397 | catch (Exception e) | 402 | catch (Exception e) |