diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Capabilities')
-rw-r--r-- | OpenSim/Framework/Communications/Capabilities/Caps.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs index 36bebe8..d859227 100644 --- a/OpenSim/Framework/Communications/Capabilities/Caps.cs +++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs | |||
@@ -567,6 +567,19 @@ namespace OpenSim.Region.Capabilities | |||
567 | inType = 19; | 567 | inType = 19; |
568 | assType = 20; | 568 | assType = 20; |
569 | } | 569 | } |
570 | else if (inventoryType == "wearable") | ||
571 | { | ||
572 | inType = 18; | ||
573 | switch (assetType) | ||
574 | { | ||
575 | case "bodypart": | ||
576 | assType = 13; | ||
577 | break; | ||
578 | case "clothing": | ||
579 | assType = 5; | ||
580 | break; | ||
581 | } | ||
582 | } | ||
570 | 583 | ||
571 | AssetBase asset; | 584 | AssetBase asset; |
572 | asset = new AssetBase(); | 585 | asset = new AssetBase(); |