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
parent
f74a9bcdc7
commit
e9144b1a3a
|
@ -119,6 +119,22 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue