aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorMelanie2012-06-14 00:57:05 +0100
committerMelanie2012-06-14 00:57:05 +0100
commit36117e079aa8b149b3764d0beb853251ff77ca09 (patch)
tree244337e3da7bf5a65c3eaf1396d2a0a8f0d60ef5 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
parentMerge branch 'master' into careminster (diff)
parentAdd SOG.HasPrivateAttachmentPoint to tell if a SOG has a private attachment p... (diff)
downloadopensim-SC-36117e079aa8b149b3764d0beb853251ff77ca09.zip
opensim-SC-36117e079aa8b149b3764d0beb853251ff77ca09.tar.gz
opensim-SC-36117e079aa8b149b3764d0beb853251ff77ca09.tar.bz2
opensim-SC-36117e079aa8b149b3764d0beb853251ff77ca09.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 904c896..5aeee52 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -244,6 +244,22 @@ namespace OpenSim.Region.Framework.Scenes
244 } 244 }
245 } 245 }
246 246
247 /// <summary>
248 /// If this scene object has an attachment point then indicate whether there is a point where
249 /// attachments are perceivable by avatars other than the avatar to which this object is attached.
250 /// </summary>
251 /// <remarks>
252 /// HUDs are not perceivable by other avatars.
253 /// </remarks>
254 public bool HasPrivateAttachmentPoint
255 {
256 get
257 {
258 return AttachmentPoint >= (uint)OpenMetaverse.AttachmentPoint.HUDCenter2
259 && AttachmentPoint <= (uint)OpenMetaverse.AttachmentPoint.HUDBottomRight;
260 }
261 }
262
247 public void ClearPartAttachmentData() 263 public void ClearPartAttachmentData()
248 { 264 {
249 AttachmentPoint = 0; 265 AttachmentPoint = 0;