In my crusade against facelights, I am striking the killing blow. Add a

DisableFacelights option to OpenSim.ini to finally kill those immersion-
breaking, silly vanity lights that destroy nighttime RP. Girls, you look
just fine without them. Guys, you too. Thank you. Melanie has left the building.
This commit is contained in:
Melanie Thielker
2010-08-08 02:01:24 +02:00
parent 4c5788c4c0
commit 50ac61e17f
3 changed files with 27 additions and 0 deletions

View File

@@ -153,6 +153,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
private int m_defaultRTO = 0;
private int m_maxRTO = 0;
private bool m_disableFacelights = false;
public Socket Server { get { return null; } }
public LLUDPServer(IPAddress listenIP, ref uint port, int proxyPortOffsetParm, bool allow_alternate_port, IConfigSource configSource, AgentCircuitManager circuitManager)
@@ -190,6 +192,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
m_defaultRTO = config.GetInt("DefaultRTO", 0);
m_maxRTO = config.GetInt("MaxRTO", 0);
m_disableFacelights = config.GetBoolean("DisableFacelights", false);
}
else
{
@@ -907,6 +910,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
//this will prevent us from missing important messages
//before the modules are bound
client.DeliverPackets = false;
client.DisableFacelights = m_disableFacelights;
Util.FireAndForget(
delegate