aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-06-20 22:46:01 +0100
committerJustin Clark-Casey (justincc)2012-06-20 22:46:01 +0100
commit714db90832522d8035df744594afd07b227af232 (patch)
tree9056355516b456e3fbed035b2530ce49945e03b9
parentAs with LLSDInventoryItem from commit 01a2b0b, send type values in LLSDInvent... (diff)
downloadopensim-SC_OLD-714db90832522d8035df744594afd07b227af232.zip
opensim-SC_OLD-714db90832522d8035df744594afd07b227af232.tar.gz
opensim-SC_OLD-714db90832522d8035df744594afd07b227af232.tar.bz2
opensim-SC_OLD-714db90832522d8035df744594afd07b227af232.tar.xz
refactor: use SOG.HasPrivateAttachmentPoint in SOP.SendTerseUpdateToClient() instead of attachmentpoint magic numbers.
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 9303ff4..3d81358 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -4431,8 +4431,9 @@ namespace OpenSim.Region.Framework.Scenes
4431 if (ParentGroup.IsDeleted) 4431 if (ParentGroup.IsDeleted)
4432 return; 4432 return;
4433 4433
4434 if (ParentGroup.IsAttachment && ((ParentGroup.RootPart != this) || 4434 if (ParentGroup.IsAttachment
4435 ((ParentGroup.AttachedAvatar != remoteClient.AgentId) && (ParentGroup.AttachmentPoint >= 31) && (ParentGroup.AttachmentPoint <= 38)))) 4435 && (ParentGroup.RootPart != this
4436 || ParentGroup.AttachedAvatar != remoteClient.AgentId && ParentGroup.HasPrivateAttachmentPoint))
4436 return; 4437 return;
4437 4438
4438 // Causes this thread to dig into the Client Thread Data. 4439 // Causes this thread to dig into the Client Thread Data.