* Applying patch in mantis 0001293: [PATCH] Fix a bug that corrupts uploaded assets on disk write from Melane. Thanks Melanie!

0.6.0-stable
Teravus Ovares 2008-05-16 22:50:37 +00:00
parent 00a1f0bab0
commit a510033df5
2 changed files with 6 additions and 3 deletions

View File

@ -678,6 +678,8 @@ namespace OpenSim.Framework.Communications.Capabilities
item.InvType = inType; item.InvType = inType;
item.Folder = parentFolder; item.Folder = parentFolder;
item.CurrentPermissions = 2147483647; item.CurrentPermissions = 2147483647;
item.BasePermissions = 2147483647;
item.EveryOnePermissions = 0;
item.NextPermissions = 2147483647; item.NextPermissions = 2147483647;
if (AddNewInventoryItem != null) if (AddNewInventoryItem != null)

View File

@ -379,8 +379,9 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction
item.AssetType = type; item.AssetType = type;
item.InvType = invType; item.InvType = invType;
item.Folder = InventFolder; item.Folder = InventFolder;
item.BasePermissions = 2147483647; item.BasePermissions = 0x7fffffff;
item.CurrentPermissions = 2147483647; item.CurrentPermissions = 0x7fffffff;
item.EveryOnePermissions=0;
item.NextPermissions = nextPerm; item.NextPermissions = nextPerm;
item.Flags = (uint) wearableType; item.Flags = (uint) wearableType;
@ -401,4 +402,4 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction
#endregion #endregion
} }
} }