diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index f4b6685..a94e592 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -93,6 +93,26 @@ namespace OpenSim.Region.Environment.Scenes | |||
93 | /// since the group's last persistent backup | 93 | /// since the group's last persistent backup |
94 | /// </summary> | 94 | /// </summary> |
95 | public bool HasGroupChanged = false; | 95 | public bool HasGroupChanged = false; |
96 | |||
97 | /// <value> | ||
98 | /// Is this scene object acting as an attachment? | ||
99 | /// | ||
100 | /// We return false if the group has already been deleted. | ||
101 | /// | ||
102 | /// TODO: At the moment set must be done on the part itself. There may be a case for doing it here since I | ||
103 | /// presume either all or no parts in a linkset can be part of an attachment (in which | ||
104 | /// case the value would get proprogated down into all the descendent parts). | ||
105 | /// </value> | ||
106 | public bool IsAttachment | ||
107 | { | ||
108 | get | ||
109 | { | ||
110 | if (!IsDeleted) | ||
111 | return m_rootPart.IsAttachment; | ||
112 | |||
113 | return false; | ||
114 | } | ||
115 | } | ||
96 | 116 | ||
97 | public float scriptScore = 0f; | 117 | public float scriptScore = 0f; |
98 | 118 | ||