diff options
author | Melanie | 2010-10-14 07:28:20 +0100 |
---|---|---|
committer | Melanie | 2010-10-14 07:28:20 +0100 |
commit | 6ac6ca057d087c7563ab1660881011d711f30911 (patch) | |
tree | 42cd00fd335f1cc7198285dd03f5514bb1e251a3 | |
parent | * Partially complete stuff for Mesh support that Melanie wanted to see before... (diff) | |
download | opensim-SC-6ac6ca057d087c7563ab1660881011d711f30911.zip opensim-SC-6ac6ca057d087c7563ab1660881011d711f30911.tar.gz opensim-SC-6ac6ca057d087c7563ab1660881011d711f30911.tar.bz2 opensim-SC-6ac6ca057d087c7563ab1660881011d711f30911.tar.xz |
Kill some magic numbers in the caps module
-rw-r--r-- | OpenSim/Framework/Capabilities/Caps.cs | 6 | ||||
-rw-r--r-- | prebuild.xml | 1 |
2 files changed, 4 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) |
diff --git a/prebuild.xml b/prebuild.xml index 24a3e61..abe6934 100644 --- a/prebuild.xml +++ b/prebuild.xml | |||
@@ -679,6 +679,7 @@ | |||
679 | <Reference name="OpenSim.Framework.Servers.HttpServer"/> | 679 | <Reference name="OpenSim.Framework.Servers.HttpServer"/> |
680 | <Reference name="OpenSim.Framework.Statistics"/> | 680 | <Reference name="OpenSim.Framework.Statistics"/> |
681 | <Reference name="OpenSim.Services.Interfaces"/> | 681 | <Reference name="OpenSim.Services.Interfaces"/> |
682 | <Reference name="OpenMetaverse" path="../../../bin/"/> | ||
682 | <Reference name="OpenMetaverseTypes" path="../../../bin/"/> | 683 | <Reference name="OpenMetaverseTypes" path="../../../bin/"/> |
683 | <!-- FIXME: The OpenMetaverse.dll reference can be dropped when the TransferRequestPacket reference is removed from the code --> | 684 | <!-- FIXME: The OpenMetaverse.dll reference can be dropped when the TransferRequestPacket reference is removed from the code --> |
684 | <Reference name="Nini" path="../../../bin/"/> | 685 | <Reference name="Nini" path="../../../bin/"/> |