diff options
author | Jonathan Freedman | 2010-10-17 18:45:25 -0400 |
---|---|---|
committer | Jonathan Freedman | 2010-10-17 18:45:25 -0400 |
commit | 4e4fb93fae6c13ca6c6ac521991c4e4969b0fe65 (patch) | |
tree | 79142f2364b658f52b63e3ae688a5521290e2a4f /OpenSim/Framework/Capabilities | |
parent | * more url / hg cleanup (diff) | |
parent | Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-4e4fb93fae6c13ca6c6ac521991c4e4969b0fe65.zip opensim-SC-4e4fb93fae6c13ca6c6ac521991c4e4969b0fe65.tar.gz opensim-SC-4e4fb93fae6c13ca6c6ac521991c4e4969b0fe65.tar.bz2 opensim-SC-4e4fb93fae6c13ca6c6ac521991c4e4969b0fe65.tar.xz |
Merge branch 'master' of git://opensimulator.org/git/opensim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Capabilities/Caps.cs | 6 | ||||
-rw-r--r-- | OpenSim/Framework/Capabilities/LLSDAssetUploadResponse.cs | 14 |
2 files changed, 17 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/OpenSim/Framework/Capabilities/LLSDAssetUploadResponse.cs b/OpenSim/Framework/Capabilities/LLSDAssetUploadResponse.cs index 08f14e3..0d6f7f9 100644 --- a/OpenSim/Framework/Capabilities/LLSDAssetUploadResponse.cs +++ b/OpenSim/Framework/Capabilities/LLSDAssetUploadResponse.cs | |||
@@ -39,4 +39,18 @@ namespace OpenSim.Framework.Capabilities | |||
39 | { | 39 | { |
40 | } | 40 | } |
41 | } | 41 | } |
42 | |||
43 | [OSDMap] | ||
44 | public class LLSDNewFileAngentInventoryVariablePriceReplyResponse | ||
45 | { | ||
46 | public int resource_cost; | ||
47 | public string state; | ||
48 | public int upload_price; | ||
49 | public string rsvp; | ||
50 | |||
51 | public LLSDNewFileAngentInventoryVariablePriceReplyResponse() | ||
52 | { | ||
53 | state = "confirm_upload"; | ||
54 | } | ||
55 | } | ||
42 | } \ No newline at end of file | 56 | } \ No newline at end of file |