diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index 25e36c5..177d99c 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -119,6 +119,22 @@ namespace OpenSim.Region.Environment.Scenes | |||
119 | } | 119 | } |
120 | break; | 120 | break; |
121 | } | 121 | } |
122 | else | ||
123 | { | ||
124 | // We also need to check the children of this prim as they | ||
125 | // can be selected as well and send property information | ||
126 | bool foundPrim = false; | ||
127 | foreach (KeyValuePair<LLUUID, SceneObjectPart> child in ((SceneObjectGroup) ent).Children) | ||
128 | { | ||
129 | if (child.Value.LocalId == primLocalID) | ||
130 | { | ||
131 | child.Value.GetProperties(remoteClient); | ||
132 | foundPrim = true; | ||
133 | break; | ||
134 | } | ||
135 | } | ||
136 | if (foundPrim) break; | ||
137 | } | ||
122 | } | 138 | } |
123 | } | 139 | } |
124 | } | 140 | } |