diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 16 |
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; |