aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AvatarWearable.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/AvatarWearable.cs24
1 files changed, 15 insertions, 9 deletions
diff --git a/OpenSim/Framework/AvatarWearable.cs b/OpenSim/Framework/AvatarWearable.cs
index 0e8f960..1733559 100644
--- a/OpenSim/Framework/AvatarWearable.cs
+++ b/OpenSim/Framework/AvatarWearable.cs
@@ -67,10 +67,14 @@ namespace OpenSim.Framework
67 67
68 public static readonly int ALPHA = 13; 68 public static readonly int ALPHA = 13;
69 public static readonly int TATTOO = 14; 69 public static readonly int TATTOO = 14;
70
71 public static readonly int LEGACY_VERSION_MAX_WEARABLES = 15; 70 public static readonly int LEGACY_VERSION_MAX_WEARABLES = 15;
72// public static readonly int PHYSICS = 15; 71
73// public static int MAX_WEARABLES = 16; 72 public static readonly int PHYSICS = 15;
73
74 public static int MAX_WEARABLES_PV7 = 16;
75
76 public static readonly int UNIVERSAL = 16;
77 public static int MAX_WEARABLES = 17;
74 78
75 79
76 public static readonly UUID DEFAULT_BODY_ITEM = new UUID("66c41e39-38f9-f75a-024e-585989bfaba9"); 80 public static readonly UUID DEFAULT_BODY_ITEM = new UUID("66c41e39-38f9-f75a-024e-585989bfaba9");
@@ -91,11 +95,11 @@ namespace OpenSim.Framework
91 public static readonly UUID DEFAULT_PANTS_ITEM = new UUID("77c41e39-38f9-f75a-0000-5859892f1111"); 95 public static readonly UUID DEFAULT_PANTS_ITEM = new UUID("77c41e39-38f9-f75a-0000-5859892f1111");
92 public static readonly UUID DEFAULT_PANTS_ASSET = new UUID("00000000-38f9-1111-024e-222222111120"); 96 public static readonly UUID DEFAULT_PANTS_ASSET = new UUID("00000000-38f9-1111-024e-222222111120");
93 97
94// public static readonly UUID DEFAULT_ALPHA_ITEM = new UUID("bfb9923c-4838-4d2d-bf07-608c5b1165c8"); 98 public static readonly UUID DEFAULT_ALPHA_ITEM = new UUID("bfb9923c-4838-4d2d-bf07-608c5b1165c8");
95// public static readonly UUID DEFAULT_ALPHA_ASSET = new UUID("1578a2b1-5179-4b53-b618-fe00ca5a5594"); 99 public static readonly UUID DEFAULT_ALPHA_ASSET = new UUID("1578a2b1-5179-4b53-b618-fe00ca5a5594");
96 100
97// public static readonly UUID DEFAULT_TATTOO_ITEM = new UUID("c47e22bd-3021-4ba4-82aa-2b5cb34d35e1"); 101 public static readonly UUID DEFAULT_TATTOO_ITEM = new UUID("c47e22bd-3021-4ba4-82aa-2b5cb34d35e1");
98// public static readonly UUID DEFAULT_TATTOO_ASSET = new UUID("00000000-0000-2222-3333-100000001007"); 102 public static readonly UUID DEFAULT_TATTOO_ASSET = new UUID("00000000-0000-2222-3333-100000001007");
99 103
100 protected Dictionary<UUID, UUID> m_items = new Dictionary<UUID, UUID>(); 104 protected Dictionary<UUID, UUID> m_items = new Dictionary<UUID, UUID>();
101 protected List<UUID> m_ids = new List<UUID>(); 105 protected List<UUID> m_ids = new List<UUID>();
@@ -132,10 +136,12 @@ namespace OpenSim.Framework
132 public void Unpack(OSDArray args) 136 public void Unpack(OSDArray args)
133 { 137 {
134 Clear(); 138 Clear();
135 139 OSD tmpOSDA, tmpOSDB;
136 foreach (OSDMap weardata in args) 140 foreach (OSDMap weardata in args)
137 { 141 {
138 Add(weardata["item"].AsUUID(), weardata["asset"].AsUUID()); 142 tmpOSDA = weardata["item"];
143 tmpOSDB = weardata["asset"];
144 Add(tmpOSDA.AsUUID(), tmpOSDB.AsUUID());
139 } 145 }
140 } 146 }
141 147