Always enable http simulator caps
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user