Completely nixing flags from the client causes wearables to break. Fix it

so we let the lowest byte through.
avinationmerge
Melanie 2011-01-22 19:00:46 +01:00
parent b92673c1c9
commit 17787e7c87
1 changed files with 1 additions and 0 deletions

View File

@ -308,6 +308,7 @@ namespace OpenSim.Region.Framework.Scenes
{
if (UUID.Zero == transactionID)
{
item.Flags = (item.Flags & ~(uint)255) | (itemUpd.Flags & (uint)255);
item.Name = itemUpd.Name;
item.Description = itemUpd.Description;
if (item.NextPermissions != (itemUpd.NextPermissions & item.BasePermissions))