Add start of an asset text editor
This commit is contained in:
@@ -87,6 +87,7 @@
|
||||
#include "llselectmgr.h"
|
||||
#include "llfloateropenobject.h"
|
||||
#include "dofloaterhex.h"
|
||||
#include "hgfloatertexteditor.h"
|
||||
|
||||
// Helpers
|
||||
// bug in busy count inc/dec right now, logic is complex... do we really need it?
|
||||
@@ -774,6 +775,13 @@ void LLItemBridge::performAction(LLFolderView* folder, LLInventoryModel* model,
|
||||
if(item->getCreatorUUID() != gAgentID) return;
|
||||
DOFloaterHex::show(mUUID);
|
||||
}
|
||||
else if("open text" == action)
|
||||
{
|
||||
LLInventoryItem* item = model->getItem(mUUID);
|
||||
if(!item) return;
|
||||
if(item->getCreatorUUID() != gAgentID) return;
|
||||
HGFloaterTextEditor::show(mUUID);
|
||||
}
|
||||
else if ("copy_uuid" == action)
|
||||
{
|
||||
// Single item only
|
||||
|
||||
Reference in New Issue
Block a user