diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index a14d869..3cef65c 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1218,6 +1218,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
1218 | part.UpdateExtraParam(type, inUse, data); | 1218 | part.UpdateExtraParam(type, inUse, data); |
1219 | } | 1219 | } |
1220 | } | 1220 | } |
1221 | public SceneObjectPart[] GetParts() | ||
1222 | { | ||
1223 | int numParts = Children.Count; | ||
1224 | SceneObjectPart[] partArray = new SceneObjectPart[numParts]; | ||
1225 | Children.Values.CopyTo(partArray, 0); | ||
1226 | return partArray; | ||
1227 | } | ||
1221 | public bool GetLocked() | 1228 | public bool GetLocked() |
1222 | { | 1229 | { |
1223 | return m_locked; | 1230 | return m_locked; |