mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
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.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user