From 17787e7c87c82f266c9b9d5f525cf3c5bead6ce8 Mon Sep 17 00:00:00 2001 From: Melanie Date: Sat, 22 Jan 2011 19:00:46 +0100 Subject: Completely nixing flags from the client causes wearables to break. Fix it so we let the lowest byte through. --- OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Region/Framework') diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 7fa5509..9a93a26 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs @@ -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)) -- cgit v1.1