From: Christopher Yeoh <cyeoh@au1.ibm.com>

The problem I noticed is that when child prims are selected unlike
the Linden server, OpenSim does not return property information - it
only searches the root prims for matches.

What I'm not sure about is whether the parcel prim count taint should
be set or if the root prim should be set as selected (doesn't
seem possible to set the child prim as selected). It does
however fix the problem of the property information
not being sent, so its an improvement (I think!).
0.6.0-stable
Dr Scofield 2008-07-24 14:18:07 +00:00
parent f74a9bcdc7
commit e9144b1a3a
1 changed files with 16 additions and 0 deletions

View File

@ -119,6 +119,22 @@ namespace OpenSim.Region.Environment.Scenes
} }
break; break;
} }
else
{
// We also need to check the children of this prim as they
// can be selected as well and send property information
bool foundPrim = false;
foreach (KeyValuePair<LLUUID, SceneObjectPart> child in ((SceneObjectGroup) ent).Children)
{
if (child.Value.LocalId == primLocalID)
{
child.Value.GetProperties(remoteClient);
foundPrim = true;
break;
}
}
if (foundPrim) break;
}
} }
} }
} }