diff options
author | Melanie | 2012-09-23 19:18:49 +0200 |
---|---|---|
committer | Melanie | 2012-09-23 19:18:49 +0200 |
commit | 291e57afb4bb4fb30230c76b28434da79e337e3f (patch) | |
tree | ff8b8b3e06131ef0d89bdc5b0ae33da4563f2d61 /OpenSim/Capabilities | |
parent | refix prior commit (diff) | |
parent | try to allow free uploads for testing, if users prefix names with "TEST-". Let (diff) | |
download | opensim-SC-291e57afb4bb4fb30230c76b28434da79e337e3f.zip opensim-SC-291e57afb4bb4fb30230c76b28434da79e337e3f.tar.gz opensim-SC-291e57afb4bb4fb30230c76b28434da79e337e3f.tar.bz2 opensim-SC-291e57afb4bb4fb30230c76b28434da79e337e3f.tar.xz |
Merge branch 'ubitwork' into avination
Conflicts:
OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/MeshCost.cs
Diffstat (limited to 'OpenSim/Capabilities')
-rw-r--r-- | OpenSim/Capabilities/LLSDAssetUploadComplete.cs | 3 | ||||
-rw-r--r-- | OpenSim/Capabilities/LLSDAssetUploadRequest.cs | 4 | ||||
-rw-r--r-- | OpenSim/Capabilities/LLSDAssetUploadResponse.cs | 10 |
3 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Capabilities/LLSDAssetUploadComplete.cs b/OpenSim/Capabilities/LLSDAssetUploadComplete.cs index ab6cee5..ae8eb09 100644 --- a/OpenSim/Capabilities/LLSDAssetUploadComplete.cs +++ b/OpenSim/Capabilities/LLSDAssetUploadComplete.cs | |||
@@ -30,12 +30,15 @@ using OpenMetaverse; | |||
30 | 30 | ||
31 | namespace OpenSim.Framework.Capabilities | 31 | namespace OpenSim.Framework.Capabilities |
32 | { | 32 | { |
33 | |||
33 | [LLSDType("MAP")] | 34 | [LLSDType("MAP")] |
34 | public class LLSDAssetUploadComplete | 35 | public class LLSDAssetUploadComplete |
35 | { | 36 | { |
36 | public string new_asset = String.Empty; | 37 | public string new_asset = String.Empty; |
37 | public UUID new_inventory_item = UUID.Zero; | 38 | public UUID new_inventory_item = UUID.Zero; |
39 | // public UUID new_texture_folder_id = UUID.Zero; | ||
38 | public string state = String.Empty; | 40 | public string state = String.Empty; |
41 | public LLSDAssetUploadError error = null; | ||
39 | //public bool success = false; | 42 | //public bool success = false; |
40 | 43 | ||
41 | public LLSDAssetUploadComplete() | 44 | public LLSDAssetUploadComplete() |
diff --git a/OpenSim/Capabilities/LLSDAssetUploadRequest.cs b/OpenSim/Capabilities/LLSDAssetUploadRequest.cs index f981bf0..6779cc1 100644 --- a/OpenSim/Capabilities/LLSDAssetUploadRequest.cs +++ b/OpenSim/Capabilities/LLSDAssetUploadRequest.cs | |||
@@ -45,6 +45,10 @@ namespace OpenSim.Framework.Capabilities | |||
45 | public string asset_type = String.Empty; | 45 | public string asset_type = String.Empty; |
46 | public string description = String.Empty; | 46 | public string description = String.Empty; |
47 | public UUID folder_id = UUID.Zero; | 47 | public UUID folder_id = UUID.Zero; |
48 | public UUID texture_folder_id = UUID.Zero; | ||
49 | public int next_owner_mask = 0; | ||
50 | public int group_mask = 0; | ||
51 | public int everyone_mask = 0; | ||
48 | public string inventory_type = String.Empty; | 52 | public string inventory_type = String.Empty; |
49 | public string name = String.Empty; | 53 | public string name = String.Empty; |
50 | public LLSDAssetResource asset_resources = new LLSDAssetResource(); | 54 | public LLSDAssetResource asset_resources = new LLSDAssetResource(); |
diff --git a/OpenSim/Capabilities/LLSDAssetUploadResponse.cs b/OpenSim/Capabilities/LLSDAssetUploadResponse.cs index 18285b5..7c4bc97 100644 --- a/OpenSim/Capabilities/LLSDAssetUploadResponse.cs +++ b/OpenSim/Capabilities/LLSDAssetUploadResponse.cs | |||
@@ -26,10 +26,18 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using OpenMetaverse; | ||
29 | 30 | ||
30 | namespace OpenSim.Framework.Capabilities | 31 | namespace OpenSim.Framework.Capabilities |
31 | { | 32 | { |
32 | [OSDMap] | 33 | [OSDMap] |
34 | public class LLSDAssetUploadError | ||
35 | { | ||
36 | public string message = String.Empty; | ||
37 | public UUID identifier = UUID.Zero; | ||
38 | } | ||
39 | |||
40 | [OSDMap] | ||
33 | public class LLSDAssetUploadResponsePricebrkDown | 41 | public class LLSDAssetUploadResponsePricebrkDown |
34 | { | 42 | { |
35 | public int mesh_streaming; | 43 | public int mesh_streaming; |
@@ -56,11 +64,13 @@ namespace OpenSim.Framework.Capabilities | |||
56 | public string state = String.Empty; | 64 | public string state = String.Empty; |
57 | public int upload_price = 0; | 65 | public int upload_price = 0; |
58 | public LLSDAssetUploadResponseData data = null; | 66 | public LLSDAssetUploadResponseData data = null; |
67 | public LLSDAssetUploadError error = null; | ||
59 | public LLSDAssetUploadResponse() | 68 | public LLSDAssetUploadResponse() |
60 | { | 69 | { |
61 | } | 70 | } |
62 | } | 71 | } |
63 | 72 | ||
73 | |||
64 | [OSDMap] | 74 | [OSDMap] |
65 | public class LLSDNewFileAngentInventoryVariablePriceReplyResponse | 75 | public class LLSDNewFileAngentInventoryVariablePriceReplyResponse |
66 | { | 76 | { |