use group.RootPart in IAM.RezObject() rather than group.GetChildPart(group.UUID);

remove-scene-viewer
Justin Clark-Casey (justincc) 2011-09-01 23:09:14 +01:00
parent 8b83c4a433
commit e30651b931
1 changed files with 1 additions and 1 deletions

View File

@ -865,7 +865,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
group.SetFromItemID(itemID);
}
SceneObjectPart rootPart = group.GetChildPart(group.UUID);
SceneObjectPart rootPart = group.RootPart;
// Since renaming the item in the inventory does not
// affect the name stored in the serialization, transfer