aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
diff options
context:
space:
mode:
authorMelanie2010-08-08 01:57:02 +0100
committerMelanie2010-08-08 01:57:02 +0100
commitcd2c7b9ac983aea6674cd6f89797c5e76287b74e (patch)
tree23b54d5496d9684c2276c36fb708c6e3281feded /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
parentAdd search URL to Login Service (diff)
downloadopensim-SC_OLD-cd2c7b9ac983aea6674cd6f89797c5e76287b74e.zip
opensim-SC_OLD-cd2c7b9ac983aea6674cd6f89797c5e76287b74e.tar.gz
opensim-SC_OLD-cd2c7b9ac983aea6674cd6f89797c5e76287b74e.tar.bz2
opensim-SC_OLD-cd2c7b9ac983aea6674cd6f89797c5e76287b74e.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 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 1b81105..ca5a297 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 {
@@ -898,6 +901,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
898 LLClientView client = new LLClientView(remoteEndPoint, m_scene, this, udpClient, sessionInfo, agentID, sessionID, circuitCode); 901 LLClientView client = new LLClientView(remoteEndPoint, m_scene, this, udpClient, sessionInfo, agentID, sessionID, circuitCode);
899 client.OnLogout += LogoutHandler; 902 client.OnLogout += LogoutHandler;
900 903
904 client.DisableFacelights = m_disableFacelights;
905
901 // Start the IClientAPI 906 // Start the IClientAPI
902 client.Start(); 907 client.Start();
903 } 908 }