aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2015-11-02 00:45:05 +0100
committerMelanie Thielker2015-11-02 00:45:05 +0100
commit6bb12ab97527eef25c7c99279ce6351420a2abf4 (patch)
treef62df8a9b9aead965dfd87255c278e613107cb86
parentPlumb the rest of the context stuff. Well, what I see so far anyway (diff)
downloadopensim-SC-6bb12ab97527eef25c7c99279ce6351420a2abf4.zip
opensim-SC-6bb12ab97527eef25c7c99279ce6351420a2abf4.tar.gz
opensim-SC-6bb12ab97527eef25c7c99279ce6351420a2abf4.tar.bz2
opensim-SC-6bb12ab97527eef25c7c99279ce6351420a2abf4.tar.xz
Set wearables count to max legacy wearables for version < 0.4
-rw-r--r--OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs5
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)