diff options
Diffstat (limited to 'linden/indra/newview/llinventoryactions.cpp')
-rw-r--r-- | linden/indra/newview/llinventoryactions.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/llinventoryactions.cpp b/linden/indra/newview/llinventoryactions.cpp index d7af8d1..319b5b2 100644 --- a/linden/indra/newview/llinventoryactions.cpp +++ b/linden/indra/newview/llinventoryactions.cpp | |||
@@ -428,6 +428,16 @@ void do_create(LLInventoryModel *model, LLInventoryPanel *ptr, std::string type, | |||
428 | LLUUID parent_id = self ? self->getUUID() : gInventory.findCategoryUUIDForType(LLAssetType::AT_CLOTHING); | 428 | LLUUID parent_id = self ? self->getUUID() : gInventory.findCategoryUUIDForType(LLAssetType::AT_CLOTHING); |
429 | LLFolderBridge::createWearable(parent_id, WT_UNDERPANTS); | 429 | LLFolderBridge::createWearable(parent_id, WT_UNDERPANTS); |
430 | } | 430 | } |
431 | else if ("alpha" == type) | ||
432 | { | ||
433 | LLUUID parent_id = self ? self->getUUID() : gInventory.findCategoryUUIDForType(LLAssetType::AT_CLOTHING); | ||
434 | LLFolderBridge::createWearable(parent_id, WT_ALPHA); | ||
435 | } | ||
436 | else if ("tattoo" == type) | ||
437 | { | ||
438 | LLUUID parent_id = self ? self->getUUID() : gInventory.findCategoryUUIDForType(LLAssetType::AT_CLOTHING); | ||
439 | LLFolderBridge::createWearable(parent_id, WT_TATTOO); | ||
440 | } | ||
431 | else if ("shape" == type) | 441 | else if ("shape" == type) |
432 | { | 442 | { |
433 | LLUUID parent_id = self ? self->getUUID() : gInventory.findCategoryUUIDForType(LLAssetType::AT_BODYPART); | 443 | LLUUID parent_id = self ? self->getUUID() : gInventory.findCategoryUUIDForType(LLAssetType::AT_BODYPART); |