Break out LLMakeOutfitDialog.
Added "Make Outfit..." to Edit menu and Create->"New Outfit" to inventory floater menu. Cleaned up LLMakeOutfitDialog, using boost::bind and less waste. Moved onMakeOutfitCommit() to LLMakeOutfitDialog as makeOutfit() Also changes LLFloaterCustomize's callbacks to use boost::bind Give new outfit dialog a title instead of a heading. Small fix to mistake with AnnounceSnapshots xmlstuffs.
This commit is contained in:
@@ -67,6 +67,7 @@
|
||||
#include "llinventoryclipboard.h"
|
||||
#include "llinventorymodelbackgroundfetch.h"
|
||||
#include "lllineeditor.h"
|
||||
#include "llmakeoutfitdialog.h"
|
||||
#include "llmenugl.h"
|
||||
#include "llpreviewanim.h"
|
||||
#include "llpreviewgesture.h"
|
||||
@@ -382,6 +383,10 @@ void do_create(LLInventoryModel *model, LLInventoryPanel *ptr, std::string type,
|
||||
LLInventoryType::IT_GESTURE,
|
||||
PERM_ALL);
|
||||
}
|
||||
else if ("outfit" == type)
|
||||
{
|
||||
new LLMakeOutfitDialog(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
LLWearableType::EType wear_type = LLWearableType::typeNameToType(type);
|
||||
|
||||
Reference in New Issue
Block a user