[Floater Flexibility] Part two: Move floater dictionary into menu commands and use a common function to ShowFloaters between LLToolBar and menus.

This commit is contained in:
Inusaito Sayori
2014-03-27 00:31:32 -04:00
parent 361b8852df
commit a6559b1e51
16 changed files with 377 additions and 730 deletions

View File

@@ -30,6 +30,7 @@
#include "llagent.h"
#include "llagentcamera.h"
#include "lleconomy.h"
#include "llfirstuse.h"
#include "llfiltereditor.h"
#include "llinventorybridge.h"
#include "llinventoryfunctions.h"
@@ -444,6 +445,8 @@ void LLInventoryView::toggleVisibility()
S32 count = sActiveViews.count();
if (0 == count)
{
// We're using the inventory, possibly for the first time.
LLFirstUse::useInventory();
showAgentInventory(TRUE);
}
else if (1 == count)