diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 9cb1398..4676a30 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -337,7 +337,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
337 | } | 337 | } |
338 | } | 338 | } |
339 | 339 | ||
340 | private bool IsAttachmentCheckFull() | 340 | /// <summary> |
341 | /// Check both the attachment property and the relevant properties of the underlying root part. | ||
342 | /// </summary> | ||
343 | /// This is necessary in some cases, particularly when a scene object has just crossed into a region and doesn't | ||
344 | /// have the IsAttachment property yet checked. | ||
345 | /// | ||
346 | /// FIXME: However, this should be fixed so that this property | ||
347 | /// propertly reflects the underlying status. | ||
348 | /// <returns></returns> | ||
349 | public bool IsAttachmentCheckFull() | ||
341 | { | 350 | { |
342 | return (IsAttachment || (m_rootPart.Shape.PCode == 9 && m_rootPart.Shape.State != 0)); | 351 | return (IsAttachment || (m_rootPart.Shape.PCode == 9 && m_rootPart.Shape.State != 0)); |
343 | } | 352 | } |