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:
@@ -178,7 +178,7 @@
|
||||
#include "llinventorypanel.h"
|
||||
#include "llinventorybridge.h"
|
||||
#include "llkeyboard.h"
|
||||
#include "llpanellogin.h"
|
||||
#include "llmakeoutfitdialog.h"
|
||||
#include "llmenucommands.h"
|
||||
#include "llmenugl.h"
|
||||
#include "llmimetypes.h"
|
||||
@@ -187,6 +187,7 @@
|
||||
#include "llmoveview.h"
|
||||
#include "llmutelist.h"
|
||||
#include "llnotify.h"
|
||||
#include "llpanellogin.h"
|
||||
#include "llpanelobject.h"
|
||||
|
||||
#include "llparcel.h"
|
||||
@@ -6524,6 +6525,10 @@ class LLShowFloater : public view_listener_t
|
||||
gAgentCamera.changeCameraToCustomizeAvatar();
|
||||
}
|
||||
}
|
||||
else if (floater_name == "outfit")
|
||||
{
|
||||
new LLMakeOutfitDialog(false);
|
||||
}
|
||||
// Phoenix: Wolfspirit: Enabled Show Floater out of viewer menu
|
||||
else if (floater_name == "displayname")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user