Disable HTTP throttling for Avination as it's done serverside there
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
#include "llnotificationsutil.h"
|
||||
#include "llviewercontrol.h"
|
||||
#include "llviewerwindow.h"
|
||||
#include "hippogridmanager.h"
|
||||
|
||||
#include "llproxy.h"
|
||||
|
||||
@@ -74,6 +75,14 @@ BOOL LLPanelNetwork::postBuild()
|
||||
childSetValue("connection_port_enabled", gSavedSettings.getBOOL("ConnectionPortEnabled"));
|
||||
childSetValue("connection_port", (F32)gSavedSettings.getU32("ConnectionPort"));
|
||||
|
||||
// If in Avination, hide the texture bandwidth slider, Avination throttles server-side
|
||||
if (gHippoGridManager->getConnectedGrid()->isAvination())
|
||||
{
|
||||
childSetVisible("text_box4", FALSE);
|
||||
childSetVisible("tex_bandwidth", FALSE);
|
||||
childSetVisible("text_box3", FALSE);
|
||||
}
|
||||
|
||||
// Socks 5 proxy settings, commit callbacks
|
||||
childSetCommitCallback("socks5_proxy_enabled", onCommitSocks5ProxyEnabled, this);
|
||||
childSetCommitCallback("socks5_auth", onSocksAuthChanged, this);
|
||||
|
||||
Reference in New Issue
Block a user