aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Capabilities
diff options
context:
space:
mode:
authorCharles Krinke2008-04-10 15:32:09 +0000
committerCharles Krinke2008-04-10 15:32:09 +0000
commit4bdb4a2646bc0894f15f2952912ee47c3922d909 (patch)
treecd8dbd93aa71fdae308cf80dda74cc872515337b /OpenSim/Framework/Communications/Capabilities
parent* Minor: get CreateNewUserInventory() to return true on success (diff)
downloadopensim-SC_OLD-4bdb4a2646bc0894f15f2952912ee47c3922d909.zip
opensim-SC_OLD-4bdb4a2646bc0894f15f2952912ee47c3922d909.tar.gz
opensim-SC_OLD-4bdb4a2646bc0894f15f2952912ee47c3922d909.tar.bz2
opensim-SC_OLD-4bdb4a2646bc0894f15f2952912ee47c3922d909.tar.xz
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.
Diffstat (limited to 'OpenSim/Framework/Communications/Capabilities')
-rw-r--r--OpenSim/Framework/Communications/Capabilities/Caps.cs13
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();