downgrade protocol max to 0.3 since variable wearable types is still not supported

0.8.2-post-fixes
UbitUmarov 2015-11-30 01:50:56 +00:00
parent f3829c10e0
commit 8c75625e85
3 changed files with 6 additions and 5 deletions

View File

@ -83,8 +83,8 @@ namespace OpenSim
/// - this is an older teleport protocol used in OpenSimulator 0.7.5 and before. /// - this is an older teleport protocol used in OpenSimulator 0.7.5 and before.
/// </remarks> /// </remarks>
public readonly static float SimulationServiceVersionAcceptedMin = 0.3f; public readonly static float SimulationServiceVersionAcceptedMin = 0.3f;
public readonly static float SimulationServiceVersionAcceptedMax = 0.4f; public readonly static float SimulationServiceVersionAcceptedMax = 0.3f;
public readonly static float SimulationServiceVersionSupportedMin = 0.3f; public readonly static float SimulationServiceVersionSupportedMin = 0.3f;
public readonly static float SimulationServiceVersionSupportedMax = 0.4f; public readonly static float SimulationServiceVersionSupportedMax = 0.3f;
} }
} }

View File

@ -262,7 +262,7 @@ namespace OpenSim.Server.Handlers.Simulation
resp["version"] = OSD.FromString(legacyVersion); resp["version"] = OSD.FromString(legacyVersion);
resp["negotiated_inbound_version"] = OSD.FromReal(inboundVersion); resp["negotiated_inbound_version"] = OSD.FromReal(inboundVersion);
resp["negotiated_outbound_version"] = OSD.FromReal(outboundVersion); resp["negotiated_outbound_version"] = OSD.FromReal(outboundVersion);
resp["variable_wearables_count_supported"] = OSD.FromBoolean(true); resp["variable_wearables_count_supported"] = OSD.FromBoolean(false);
OSDArray featuresWanted = new OSDArray(); OSDArray featuresWanted = new OSDArray();
foreach (UUID feature in features) foreach (UUID feature in features)

View File

@ -345,8 +345,9 @@ namespace OpenSim.Services.Connectors.Simulation
ctx.OutboundVersion = float.Parse(parts[1]); ctx.OutboundVersion = float.Parse(parts[1]);
} }
} }
if (data.ContainsKey("variable_wearables_count_supported")) // if (data.ContainsKey("variable_wearables_count_supported"))
ctx.VariableWearablesSupported = true; // ctx.VariableWearablesSupported = true;
ctx.VariableWearablesSupported = false;
m_log.DebugFormat( m_log.DebugFormat(
"[REMOTE SIMULATION CONNECTOR]: QueryAccess to {0} returned {1}, reason {2}, version {3}/{4}", "[REMOTE SIMULATION CONNECTOR]: QueryAccess to {0} returned {1}, reason {2}, version {3}/{4}",