aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie2010-10-14 07:28:20 +0100
committerMelanie2010-10-14 07:28:20 +0100
commit6ac6ca057d087c7563ab1660881011d711f30911 (patch)
tree42cd00fd335f1cc7198285dd03f5514bb1e251a3 /OpenSim/Framework
parent* Partially complete stuff for Mesh support that Melanie wanted to see before... (diff)
downloadopensim-SC_OLD-6ac6ca057d087c7563ab1660881011d711f30911.zip
opensim-SC_OLD-6ac6ca057d087c7563ab1660881011d711f30911.tar.gz
opensim-SC_OLD-6ac6ca057d087c7563ab1660881011d711f30911.tar.bz2
opensim-SC_OLD-6ac6ca057d087c7563ab1660881011d711f30911.tar.xz
Kill some magic numbers in the caps module
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Capabilities/Caps.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Capabilities/Caps.cs b/OpenSim/Framework/Capabilities/Caps.cs
index 6f32adf..72283de 100644
--- a/OpenSim/Framework/Capabilities/Caps.cs
+++ b/OpenSim/Framework/Capabilities/Caps.cs
@@ -962,10 +962,10 @@ namespace OpenSim.Framework.Capabilities
962 item.AssetType = assType; 962 item.AssetType = assType;
963 item.InvType = inType; 963 item.InvType = inType;
964 item.Folder = parentFolder; 964 item.Folder = parentFolder;
965 item.CurrentPermissions = 2147483647; 965 item.CurrentPermissions = (uint)PermissionMask.All;
966 item.BasePermissions = 2147483647; 966 item.BasePermissions = (uint)PermissionMask.All;
967 item.EveryOnePermissions = 0; 967 item.EveryOnePermissions = 0;
968 item.NextPermissions = 2147483647; 968 item.NextPermissions = (uint)(PermissionMask.Move | PermissionMask.Modify | PermissionMask.Transfer);
969 item.CreationDate = Util.UnixTimeSinceEpoch(); 969 item.CreationDate = Util.UnixTimeSinceEpoch();
970 970
971 if (AddNewInventoryItem != null) 971 if (AddNewInventoryItem != null)