Kill some magic numbers in the mesh upload module and change the mesh asset

type from 45 to 49 to match OMV trunk
viewer-2-initial-appearance
Melanie 2010-10-14 11:08:10 +01:00
parent 41ce392d9b
commit ba247f729d
1 changed files with 3 additions and 3 deletions

View File

@ -254,10 +254,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Assets
item.AssetType = assType; item.AssetType = assType;
item.InvType = inType; item.InvType = inType;
item.Folder = parentFolder; item.Folder = parentFolder;
item.CurrentPermissions = 2147483647; item.CurrentPermissions = (uint)PermissionMask.All;
item.BasePermissions = 2147483647; item.BasePermissions = (uint)PermissionMask.All;
item.EveryOnePermissions = 0; item.EveryOnePermissions = 0;
item.NextPermissions = 2147483647; item.NextPermissions = (uint)(PermissionMask.Move | PermissionMask.Modify | PermissionMask.Transfer);
item.CreationDate = Util.UnixTimeSinceEpoch(); item.CreationDate = Util.UnixTimeSinceEpoch();
m_scene.AddInventoryItem(item); m_scene.AddInventoryItem(item);