aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AvatarWearable.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-04-26 17:42:11 +0100
committerUbitUmarov2012-04-26 17:42:11 +0100
commitf194c48cd3f403f95752d62206ea8046afff7c10 (patch)
treefe3039295e6cc00b7d21a572033fc81b19a33bbe /OpenSim/Framework/AvatarWearable.cs
parentHelp big boobies to dance (avatar visualParams). May not persist and need mor... (diff)
downloadopensim-SC_OLD-f194c48cd3f403f95752d62206ea8046afff7c10.zip
opensim-SC_OLD-f194c48cd3f403f95752d62206ea8046afff7c10.tar.gz
opensim-SC_OLD-f194c48cd3f403f95752d62206ea8046afff7c10.tar.bz2
opensim-SC_OLD-f194c48cd3f403f95752d62206ea8046afff7c10.tar.xz
add wearable type PHYSICS
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/AvatarWearable.cs19
1 files changed, 13 insertions, 6 deletions
diff --git a/OpenSim/Framework/AvatarWearable.cs b/OpenSim/Framework/AvatarWearable.cs
index 8e27596..382fc6c 100644
--- a/OpenSim/Framework/AvatarWearable.cs
+++ b/OpenSim/Framework/AvatarWearable.cs
@@ -62,10 +62,14 @@ namespace OpenSim.Framework
62 public static readonly int UNDERSHIRT = 10; 62 public static readonly int UNDERSHIRT = 10;
63 public static readonly int UNDERPANTS = 11; 63 public static readonly int UNDERPANTS = 11;
64 public static readonly int SKIRT = 12; 64 public static readonly int SKIRT = 12;
65
66 public static readonly int MAX_BASICWEARABLES = 13;
67
65 public static readonly int ALPHA = 13; 68 public static readonly int ALPHA = 13;
66 public static readonly int TATTOO = 14; 69 public static readonly int TATTOO = 14;
70 public static readonly int PHYSICS = 15;
67 71
68 public static readonly int MAX_WEARABLES = 15; 72 public static readonly int MAX_WEARABLES = 16;
69 73
70 public static readonly UUID DEFAULT_BODY_ITEM = new UUID("66c41e39-38f9-f75a-024e-585989bfaba9"); 74 public static readonly UUID DEFAULT_BODY_ITEM = new UUID("66c41e39-38f9-f75a-024e-585989bfaba9");
71 public static readonly UUID DEFAULT_BODY_ASSET = new UUID("66c41e39-38f9-f75a-024e-585989bfab73"); 75 public static readonly UUID DEFAULT_BODY_ASSET = new UUID("66c41e39-38f9-f75a-024e-585989bfab73");
@@ -219,7 +223,7 @@ namespace OpenSim.Framework
219 { 223 {
220 get 224 get
221 { 225 {
222 AvatarWearable[] defaultWearables = new AvatarWearable[MAX_WEARABLES]; //should be 15 of these 226 AvatarWearable[] defaultWearables = new AvatarWearable[MAX_WEARABLES];
223 for (int i = 0; i < MAX_WEARABLES; i++) 227 for (int i = 0; i < MAX_WEARABLES; i++)
224 { 228 {
225 defaultWearables[i] = new AvatarWearable(); 229 defaultWearables[i] = new AvatarWearable();
@@ -242,10 +246,13 @@ namespace OpenSim.Framework
242 246
243// // Alpha 247// // Alpha
244// defaultWearables[ALPHA].Add(DEFAULT_ALPHA_ITEM, DEFAULT_ALPHA_ASSET); 248// defaultWearables[ALPHA].Add(DEFAULT_ALPHA_ITEM, DEFAULT_ALPHA_ASSET);
245 249
246// // Tattoo 250 // // Tattoo
247// defaultWearables[TATTOO].Add(DEFAULT_TATTOO_ITEM, DEFAULT_TATTOO_ASSET); 251 // defaultWearables[TATTOO].Add(DEFAULT_TATTOO_ITEM, DEFAULT_TATTOO_ASSET);
248 252
253 // // Physics
254 // defaultWearables[PHYSICS].Add(DEFAULT_TATTOO_ITEM, DEFAULT_TATTOO_ASSET);
255
249 return defaultWearables; 256 return defaultWearables;
250 } 257 }
251 } 258 }