diff options
author | Melanie | 2010-02-08 22:11:38 +0000 |
---|---|---|
committer | Melanie | 2010-02-08 22:11:38 +0000 |
commit | c8f3bb56ff20493b9f51a123a1d89e876e0cab75 (patch) | |
tree | 0f878d1eb21f821f517ebe8170776023952e6e2c /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-c8f3bb56ff20493b9f51a123a1d89e876e0cab75.zip opensim-SC_OLD-c8f3bb56ff20493b9f51a123a1d89e876e0cab75.tar.gz opensim-SC_OLD-c8f3bb56ff20493b9f51a123a1d89e876e0cab75.tar.bz2 opensim-SC_OLD-c8f3bb56ff20493b9f51a123a1d89e876e0cab75.tar.xz |
Merge branch 'master' into careminster
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 | } |