diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 9e65f5d..5ec0ed9 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -125,12 +125,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
125 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 125 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
126 | 126 | ||
127 | /// <value> | 127 | /// <value> |
128 | /// Is this sop a root part? | 128 | /// Is this a root part? |
129 | /// </value> | 129 | /// </value> |
130 | 130 | /// <remarks> | |
131 | /// This will return true even if the whole object is attached to an avatar. | ||
132 | /// </remarks> | ||
131 | public bool IsRoot | 133 | public bool IsRoot |
132 | { | 134 | { |
133 | get { return ParentGroup.RootPart == this; } | 135 | get { return ParentGroup.RootPart == this; } |
134 | } | 136 | } |
135 | 137 | ||
136 | #region Fields | 138 | #region Fields |
@@ -1112,6 +1114,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
1112 | } | 1114 | } |
1113 | } | 1115 | } |
1114 | 1116 | ||
1117 | /// <summary> | ||
1118 | /// The parent ID of this part. | ||
1119 | /// </summary> | ||
1120 | /// <remarks> | ||
1121 | /// If this is a root part which is not attached to an avatar then the value will be 0. | ||
1122 | /// If this is a root part which is attached to an avatar then the value is the local id of that avatar. | ||
1123 | /// If this is a child part then the value is the local ID of the root part. | ||
1124 | /// </remarks> | ||
1115 | public uint ParentID | 1125 | public uint ParentID |
1116 | { | 1126 | { |
1117 | get { return _parentID; } | 1127 | get { return _parentID; } |