Always enable http simulator caps

This commit is contained in:
cinder
2023-01-29 14:20:11 -06:00
parent 69bdd4f904
commit 94b51f92e4
2 changed files with 7 additions and 14 deletions

View File

@@ -217,10 +217,6 @@ namespace OpenMetaverse
/// server the full object info will automatically be requested</summary>
public bool ALWAYS_REQUEST_OBJECTS = true;
/// <summary>Whether to establish connections to HTTP capabilities
/// servers for simulators</summary>
public bool ENABLE_CAPS = true;
/// <summary>Whether to decode sim stats</summary>
public bool ENABLE_SIMSTATS = true;

View File

@@ -690,17 +690,14 @@ namespace OpenMetaverse
Caps = null;
}
if (Client.Settings.ENABLE_CAPS)
// Connect to the CAPS system
if (seedcaps != null)
{
// Connect to the new CAPS system
if (seedcaps != null)
{
Caps = new Caps(this, seedcaps);
}
else
{
Logger.Log("Setting up a sim without a valid capabilities server!", Helpers.LogLevel.Error, Client);
}
Caps = new Caps(this, seedcaps);
}
else
{
Logger.Log("Setting up a sim without a valid capabilities server!", Helpers.LogLevel.Error, Client);
}
}