Kill some magic numbers in the mesh upload module and change the mesh asset
type from 45 to 49 to match OMV trunkviewer-2-initial-appearance
parent
41ce392d9b
commit
ba247f729d
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue