From 4bdb4a2646bc0894f15f2952912ee47c3922d909 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Thu, 10 Apr 2008 15:32:09 +0000 Subject: [PATCH] Thank you kindly, A_Biondi for a patch that: Handles the CreateItem cap request for all wearables, setting the proper value in inType and assType. --- .../Framework/Communications/Capabilities/Caps.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs index 36bebe8629..d859227a03 100644 --- a/OpenSim/Framework/Communications/Capabilities/Caps.cs +++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs @@ -567,6 +567,19 @@ namespace OpenSim.Region.Capabilities inType = 19; assType = 20; } + else if (inventoryType == "wearable") + { + inType = 18; + switch (assetType) + { + case "bodypart": + assType = 13; + break; + case "clothing": + assType = 5; + break; + } + } AssetBase asset; asset = new AssetBase();