From 6510ba8a646fecf54ecd6ac735a08bf661cc5b6d Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 1 Nov 2015 01:15:31 +0100 Subject: [PATCH] Plumb the special VeriableWearablesSuported field which we will temporarily use to determine extended wearableness --- .../Connectors/Simulation/SimulationServiceConnector.cs | 2 ++ OpenSim/Services/Interfaces/ISimulationService.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index b93088a35f..cea870b361 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs @@ -345,6 +345,8 @@ namespace OpenSim.Services.Connectors.Simulation ctx.OutboundVersion = float.Parse(parts[1]); } } + if (data.ContainsKey("variable_wearables_count_supported")) + ctx.VariableWearablesSupported = true; m_log.DebugFormat( "[REMOTE SIMULATION CONNECTOR]: QueryAccess to {0} returned {1}, reason {2}, version {3}/{4}", diff --git a/OpenSim/Services/Interfaces/ISimulationService.cs b/OpenSim/Services/Interfaces/ISimulationService.cs index 089507e246..8a25509b3d 100644 --- a/OpenSim/Services/Interfaces/ISimulationService.cs +++ b/OpenSim/Services/Interfaces/ISimulationService.cs @@ -40,10 +40,12 @@ namespace OpenSim.Services.Interfaces { InboundVersion = VersionInfo.SimulationServiceVersionAcceptedMax; OutboundVersion = VersionInfo.SimulationServiceVersionSupportedMax; + VariableWearablesSupported = false; } public float InboundVersion { get; set; } public float OutboundVersion { get; set; } + public bool VariableWearablesSupported { get; set; } } public interface ISimulationService