diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 8fd9edb..801e614 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -203,6 +203,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
203 | if (m_rootPart.PhysActor != null) | 203 | if (m_rootPart.PhysActor != null) |
204 | { | 204 | { |
205 | m_rootPart.PhysActor.Selected = value; | 205 | m_rootPart.PhysActor.Selected = value; |
206 | // Pass it on to the children. | ||
207 | foreach (SceneObjectPart child in Children.Values) | ||
208 | { | ||
209 | if (child.PhysActor != null) | ||
210 | { | ||
211 | child.PhysActor.Selected = value; | ||
212 | } | ||
213 | } | ||
206 | } | 214 | } |
207 | } | 215 | } |
208 | } | 216 | } |