aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index af2dd85..a0e5521 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -315,6 +315,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
315 private int m_cachedTextureSerial; 315 private int m_cachedTextureSerial;
316 private PriorityQueue m_entityUpdates; 316 private PriorityQueue m_entityUpdates;
317 private Prioritizer m_prioritizer; 317 private Prioritizer m_prioritizer;
318 private bool m_disableFacelights = false;
318 319
319 /// <value> 320 /// <value>
320 /// List used in construction of data blocks for an object update packet. This is to stop us having to 321 /// List used in construction of data blocks for an object update packet. This is to stop us having to
@@ -420,6 +421,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
420 set { m_IsLoggingOut = value; } 421 set { m_IsLoggingOut = value; }
421 } 422 }
422 423
424 public bool DisableFacelights
425 {
426 get { return m_disableFacelights; }
427 set { m_disableFacelights = value; }
428 }
429
423 public bool SendLogoutPacketWhenClosing { set { m_SendLogoutPacketWhenClosing = value; } } 430 public bool SendLogoutPacketWhenClosing { set { m_SendLogoutPacketWhenClosing = value; } }
424 431
425 #endregion Properties 432 #endregion Properties
@@ -3522,6 +3529,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3522 SceneObjectPart part = (SceneObjectPart)update.Entity; 3529 SceneObjectPart part = (SceneObjectPart)update.Entity;
3523 if (m_killRecord.Contains(part.ParentGroup.RootPart.LocalId)) 3530 if (m_killRecord.Contains(part.ParentGroup.RootPart.LocalId))
3524 continue; 3531 continue;
3532
3533 if (part.ParentGroup.IsAttachment && m_disableFacelights)
3534 {
3535 if (part.ParentGroup.RootPart.Shape.State != (byte)AttachmentPoint.LeftHand &&
3536 part.ParentGroup.RootPart.Shape.State != (byte)AttachmentPoint.RightHand)
3537 {
3538 part.Shape.LightEntry = false;
3539 }
3540 }
3525 } 3541 }
3526 3542
3527 ++updatesThisCall; 3543 ++updatesThisCall;