Fix showing CreateSelected on all parts of a rez

avinationmerge
Melanie Thielker 2010-07-16 20:23:41 +02:00
parent 3f91805afb
commit 2e5f200b3b
1 changed files with 4 additions and 0 deletions

View File

@ -529,7 +529,11 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
// find small items. // find small items.
// //
if (!attachment) if (!attachment)
{
group.RootPart.CreateSelected = true; group.RootPart.CreateSelected = true;
foreach (SceneObjectPart child in group.Children.Values)
child.CreateSelected = true;
}
if (!m_Scene.Permissions.CanRezObject( if (!m_Scene.Permissions.CanRezObject(
group.Children.Count, remoteClient.AgentId, pos) group.Children.Count, remoteClient.AgentId, pos)