mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user