diff options
author | Melanie Thielker | 2010-08-08 02:01:24 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-08-08 02:01:24 +0200 |
commit | 50ac61e17f4e164931dc26f01ffbe58dced9e772 (patch) | |
tree | 36a5c873ef22ef0db41546710ba6236317e9dc3f /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |
parent | Add search URL to Login Service (diff) | |
download | opensim-SC-50ac61e17f4e164931dc26f01ffbe58dced9e772.zip opensim-SC-50ac61e17f4e164931dc26f01ffbe58dced9e772.tar.gz opensim-SC-50ac61e17f4e164931dc26f01ffbe58dced9e772.tar.bz2 opensim-SC-50ac61e17f4e164931dc26f01ffbe58dced9e772.tar.xz |
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.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 3b63bcd..bbbf0be 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -153,6 +153,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
153 | private int m_defaultRTO = 0; | 153 | private int m_defaultRTO = 0; |
154 | private int m_maxRTO = 0; | 154 | private int m_maxRTO = 0; |
155 | 155 | ||
156 | private bool m_disableFacelights = false; | ||
157 | |||
156 | public Socket Server { get { return null; } } | 158 | public Socket Server { get { return null; } } |
157 | 159 | ||
158 | public LLUDPServer(IPAddress listenIP, ref uint port, int proxyPortOffsetParm, bool allow_alternate_port, IConfigSource configSource, AgentCircuitManager circuitManager) | 160 | 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 | |||
190 | 192 | ||
191 | m_defaultRTO = config.GetInt("DefaultRTO", 0); | 193 | m_defaultRTO = config.GetInt("DefaultRTO", 0); |
192 | m_maxRTO = config.GetInt("MaxRTO", 0); | 194 | m_maxRTO = config.GetInt("MaxRTO", 0); |
195 | m_disableFacelights = config.GetBoolean("DisableFacelights", false); | ||
193 | } | 196 | } |
194 | else | 197 | else |
195 | { | 198 | { |
@@ -907,6 +910,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
907 | //this will prevent us from missing important messages | 910 | //this will prevent us from missing important messages |
908 | //before the modules are bound | 911 | //before the modules are bound |
909 | client.DeliverPackets = false; | 912 | client.DeliverPackets = false; |
913 | client.DisableFacelights = m_disableFacelights; | ||
910 | 914 | ||
911 | Util.FireAndForget( | 915 | Util.FireAndForget( |
912 | delegate | 916 | delegate |