aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/InventoryItemBase.cs
diff options
context:
space:
mode:
authorOren Hurvitz2014-05-04 13:36:36 +0300
committerOren Hurvitz2014-05-06 07:16:37 +0100
commit0fe08c8799b1a3a2d5a07c206c2f9680d1c0798e (patch)
tree680f0d84eb83f1e4924d8b26ebed7bec5755d029 /OpenSim/Framework/InventoryItemBase.cs
parentAdded range-checking for the parameters to PRIM_POINT_LIGHT (used in llSetLin... (diff)
downloadopensim-SC-0fe08c8799b1a3a2d5a07c206c2f9680d1c0798e.zip
opensim-SC-0fe08c8799b1a3a2d5a07c206c2f9680d1c0798e.tar.gz
opensim-SC-0fe08c8799b1a3a2d5a07c206c2f9680d1c0798e.tar.bz2
opensim-SC-0fe08c8799b1a3a2d5a07c206c2f9680d1c0798e.tar.xz
- When sending the "My Suitcase" folder to the client, always claim it has Folder Type 8. (Previously we had used Folder Type -1 in one place, and LLClientView didn't even bother changing Folder Type 100 to anything else.)
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/InventoryItemBase.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/InventoryItemBase.cs b/OpenSim/Framework/InventoryItemBase.cs
index 5761200..ce63ee0 100644
--- a/OpenSim/Framework/InventoryItemBase.cs
+++ b/OpenSim/Framework/InventoryItemBase.cs
@@ -35,6 +35,10 @@ namespace OpenSim.Framework
35 /// </summary> 35 /// </summary>
36 public class InventoryItemBase : InventoryNodeBase, ICloneable 36 public class InventoryItemBase : InventoryNodeBase, ICloneable
37 { 37 {
38 public static readonly string SUITCASE_FOLDER_NAME = "My Suitcase";
39 public static readonly sbyte SUITCASE_FOLDER_TYPE = 100;
40 public static readonly sbyte SUITCASE_FOLDER_FAKE_TYPE = 8;
41
38 /// <value> 42 /// <value>
39 /// The inventory type of the item. This is slightly different from the asset type in some situations. 43 /// The inventory type of the item. This is slightly different from the asset type in some situations.
40 /// </value> 44 /// </value>