Added hex editor by day oh, ported it to snowglobe trunk

This commit is contained in:
Hazim Gazov
2010-04-03 06:07:25 -03:00
parent 7a86d01598
commit 772f12eb43
21 changed files with 3204 additions and 7 deletions

View File

@@ -86,6 +86,7 @@
#include "lluictrlfactory.h"
#include "llselectmgr.h"
#include "llfloateropenobject.h"
#include "dofloaterhex.h"
// Helpers
// bug in busy count inc/dec right now, logic is complex... do we really need it?
@@ -443,6 +444,8 @@ void LLInvFVBridge::getClipboardEntries(bool show_asset_id, std::vector<std::str
disabled_items.push_back(std::string("Copy Asset UUID"));
}
}
items.push_back(std::string("Open With..."));
items.push_back(std::string("Copy Separator"));
@@ -764,6 +767,13 @@ void LLItemBridge::performAction(LLFolderView* folder, LLInventoryModel* model,
{
restoreItem();
}
else if("open hex" == action)
{
LLInventoryItem* item = model->getItem(mUUID);
if(!item) return;
if(item->getCreatorUUID() != gAgentID) return;
DOFloaterHex::show(mUUID);
}
else if ("copy_uuid" == action)
{
// Single item only