When rezzing a no-copy object on a no-rez parcel, the object vanishes from

inventory until relog. This patch corrects this and puts the item back into
inventory.
mysql-performance
Melanie 2010-01-04 06:16:04 +00:00
parent f198c68547
commit 3740775472
1 changed files with 7 additions and 0 deletions

View File

@ -2052,6 +2052,13 @@ namespace OpenSim.Region.Framework.Scenes
group.Children.Count, remoteClient.AgentId, pos)
&& !attachment)
{
// The client operates in no fail mode. It will
// have already removed the item from the folder
// if it's no copy.
// Put it back if it's not an attachment
//
if (((item.CurrentPermissions & (uint)PermissionMask.Copy) == 0) && (!attachment))
remoteClient.SendBulkUpdateInventory(item);
return null;
}