Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
Conflicts: indra/newview/lldrawpoolwlsky.cpp
This commit is contained in:
@@ -793,7 +793,7 @@ void LLInvFVBridge::getClipboardEntries(bool show_asset_id,
|
||||
|
||||
void LLInvFVBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
|
||||
{
|
||||
lldebugs << "LLInvFVBridge::buildContextMenu()" << llendl;
|
||||
LL_DEBUGS() << "LLInvFVBridge::buildContextMenu()" << LL_ENDL;
|
||||
menuentry_vec_t items;
|
||||
menuentry_vec_t disabled_items;
|
||||
if(isItemInTrash())
|
||||
@@ -1099,7 +1099,7 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type,
|
||||
case LLAssetType::AT_TEXTURE:
|
||||
if(!(inv_type == LLInventoryType::IT_TEXTURE || inv_type == LLInventoryType::IT_SNAPSHOT))
|
||||
{
|
||||
llwarns << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << llendl;
|
||||
LL_WARNS() << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << LL_ENDL;
|
||||
}
|
||||
new_listener = new LLTextureBridge(inventory, root, uuid, inv_type);
|
||||
break;
|
||||
@@ -1107,7 +1107,7 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type,
|
||||
case LLAssetType::AT_SOUND:
|
||||
if(!(inv_type == LLInventoryType::IT_SOUND))
|
||||
{
|
||||
llwarns << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << llendl;
|
||||
LL_WARNS() << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << LL_ENDL;
|
||||
}
|
||||
new_listener = new LLSoundBridge(inventory, root, uuid);
|
||||
break;
|
||||
@@ -1115,7 +1115,7 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type,
|
||||
case LLAssetType::AT_LANDMARK:
|
||||
if(!(inv_type == LLInventoryType::IT_LANDMARK))
|
||||
{
|
||||
llwarns << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << llendl;
|
||||
LL_WARNS() << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << LL_ENDL;
|
||||
}
|
||||
new_listener = new LLLandmarkBridge(inventory, root, uuid, flags);
|
||||
break;
|
||||
@@ -1123,7 +1123,7 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type,
|
||||
case LLAssetType::AT_CALLINGCARD:
|
||||
if(!(inv_type == LLInventoryType::IT_CALLINGCARD))
|
||||
{
|
||||
llwarns << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << llendl;
|
||||
LL_WARNS() << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << LL_ENDL;
|
||||
}
|
||||
new_listener = new LLCallingCardBridge(inventory, root, uuid);
|
||||
break;
|
||||
@@ -1131,7 +1131,7 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type,
|
||||
case LLAssetType::AT_SCRIPT:
|
||||
if(!(inv_type == LLInventoryType::IT_LSL))
|
||||
{
|
||||
llwarns << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << llendl;
|
||||
LL_WARNS() << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << LL_ENDL;
|
||||
}
|
||||
new_listener = new LLItemBridge(inventory, root, uuid);
|
||||
break;
|
||||
@@ -1141,7 +1141,7 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type,
|
||||
|| inv_type == LLInventoryType::IT_TEXTURE ) //There's an abundance of objects in inv that have texture (0) as their inv type, right out of unpack.
|
||||
//May have been bug either in an old client, or server version. Either way... it causes a lot of spam over something ultimately harmless.
|
||||
{
|
||||
llwarns << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << llendl;
|
||||
LL_WARNS() << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << LL_ENDL;
|
||||
}
|
||||
new_listener = new LLObjectBridge(inventory, root, uuid, inv_type, flags);
|
||||
break;
|
||||
@@ -1149,7 +1149,7 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type,
|
||||
case LLAssetType::AT_NOTECARD:
|
||||
if(!(inv_type == LLInventoryType::IT_NOTECARD))
|
||||
{
|
||||
llwarns << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << llendl;
|
||||
LL_WARNS() << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << LL_ENDL;
|
||||
}
|
||||
new_listener = new LLNotecardBridge(inventory, root, uuid);
|
||||
break;
|
||||
@@ -1157,7 +1157,7 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type,
|
||||
case LLAssetType::AT_ANIMATION:
|
||||
if(!(inv_type == LLInventoryType::IT_ANIMATION))
|
||||
{
|
||||
llwarns << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << llendl;
|
||||
LL_WARNS() << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << LL_ENDL;
|
||||
}
|
||||
new_listener = new LLAnimationBridge(inventory, root, uuid);
|
||||
break;
|
||||
@@ -1165,7 +1165,7 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type,
|
||||
case LLAssetType::AT_GESTURE:
|
||||
if(!(inv_type == LLInventoryType::IT_GESTURE))
|
||||
{
|
||||
llwarns << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << llendl;
|
||||
LL_WARNS() << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << LL_ENDL;
|
||||
}
|
||||
new_listener = new LLGestureBridge(inventory, root, uuid);
|
||||
break;
|
||||
@@ -1173,7 +1173,7 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type,
|
||||
case LLAssetType::AT_LSL_TEXT:
|
||||
if(!(inv_type == LLInventoryType::IT_LSL))
|
||||
{
|
||||
llwarns << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << llendl;
|
||||
LL_WARNS() << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << LL_ENDL;
|
||||
}
|
||||
new_listener = new LLLSLTextBridge(inventory, root, uuid);
|
||||
break;
|
||||
@@ -1182,9 +1182,9 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type,
|
||||
case LLAssetType::AT_BODYPART:
|
||||
if(!(inv_type == LLInventoryType::IT_WEARABLE))
|
||||
{
|
||||
llwarns << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << llendl;
|
||||
LL_WARNS() << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << LL_ENDL;
|
||||
}
|
||||
new_listener = new LLWearableBridge(inventory, root, uuid, asset_type, inv_type, (LLWearableType::EType)flags);
|
||||
new_listener = new LLWearableBridge(inventory, root, uuid, asset_type, inv_type, LLWearableType::inventoryFlagsToWearableType(flags));
|
||||
break;
|
||||
case LLAssetType::AT_CATEGORY:
|
||||
if (actual_asset_type == LLAssetType::AT_LINK_FOLDER)
|
||||
@@ -1203,19 +1203,19 @@ LLInvFVBridge* LLInvFVBridge::createBridge(LLAssetType::EType asset_type,
|
||||
case LLAssetType::AT_MESH:
|
||||
if(!(inv_type == LLInventoryType::IT_MESH))
|
||||
{
|
||||
llwarns << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << llendl;
|
||||
LL_WARNS() << LLAssetType::lookup(asset_type) << " asset has inventory type " << LLInventoryType::lookupHumanReadable(inv_type) << " on uuid " << uuid << LL_ENDL;
|
||||
}
|
||||
new_listener = new LLMeshBridge(inventory, root, uuid);
|
||||
break;
|
||||
|
||||
case LLAssetType::AT_IMAGE_TGA:
|
||||
case LLAssetType::AT_IMAGE_JPEG:
|
||||
//llwarns << LLAssetType::lookup(asset_type) << " asset type is unhandled for uuid " << uuid << llendl;
|
||||
//LL_WARNS() << LLAssetType::lookup(asset_type) << " asset type is unhandled for uuid " << uuid << LL_ENDL;
|
||||
break;
|
||||
|
||||
default:
|
||||
llinfos << "Unhandled asset type (llassetstorage.h): "
|
||||
<< (S32)asset_type << " (" << LLAssetType::lookup(asset_type) << ")" << llendl;
|
||||
LL_INFOS() << "Unhandled asset type (llassetstorage.h): "
|
||||
<< (S32)asset_type << " (" << LLAssetType::lookup(asset_type) << ")" << LL_ENDL;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1490,7 +1490,7 @@ void LLItemBridge::performAction(LLInventoryModel* model, std::string action)
|
||||
}
|
||||
else if (isMarketplaceCopyAction(action))
|
||||
{
|
||||
llinfos << "Copy item to marketplace action!" << llendl;
|
||||
LL_INFOS() << "Copy item to marketplace action!" << LL_ENDL;
|
||||
|
||||
LLInventoryItem* itemp = model->getItem(mUUID);
|
||||
if (!itemp) return;
|
||||
@@ -1620,7 +1620,7 @@ LLFontGL::StyleFlags LLItemBridge::getLabelStyle() const
|
||||
|
||||
if (get_is_item_worn(mUUID))
|
||||
{
|
||||
// llinfos << "BOLD" << llendl;
|
||||
// LL_INFOS() << "BOLD" << LL_ENDL;
|
||||
font |= LLFontGL::BOLD;
|
||||
}
|
||||
else if(item && item->getIsLinkType())
|
||||
@@ -2170,7 +2170,7 @@ int get_folder_path_length(const LLUUID& ancestor_id, const LLUUID& descendant_i
|
||||
category = gInventory.getCategory(parent_id);
|
||||
}
|
||||
|
||||
llwarns << "get_folder_path_length() couldn't trace a path from the descendant to the ancestor" << llendl;
|
||||
LL_WARNS() << "get_folder_path_length() couldn't trace a path from the descendant to the ancestor" << LL_ENDL;
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -2527,7 +2527,7 @@ BOOL move_inv_category_world_to_agent(const LLUUID& object_id,
|
||||
LLViewerObject* object = gObjectList.findObject(object_id);
|
||||
if(!object)
|
||||
{
|
||||
llinfos << "Object not found for drop." << llendl;
|
||||
LL_INFOS() << "Object not found for drop." << LL_ENDL;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -2538,7 +2538,7 @@ BOOL move_inv_category_world_to_agent(const LLUUID& object_id,
|
||||
|
||||
if (inventory_objects.empty())
|
||||
{
|
||||
llinfos << "Object contents not found for drop." << llendl;
|
||||
LL_INFOS() << "Object contents not found for drop." << LL_ENDL;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -2554,7 +2554,7 @@ BOOL move_inv_category_world_to_agent(const LLUUID& object_id,
|
||||
LLInventoryItem* item = dynamic_cast<LLInventoryItem*>(it->get());
|
||||
if (!item)
|
||||
{
|
||||
llwarns << "Invalid inventory item for drop" << llendl;
|
||||
LL_WARNS() << "Invalid inventory item for drop" << LL_ENDL;
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -2617,7 +2617,7 @@ void LLRightClickInventoryFetchDescendentsObserver::execute(bool clear_observer)
|
||||
// Bail out immediately if no descendents
|
||||
if( mComplete.empty() )
|
||||
{
|
||||
llwarns << "LLRightClickInventoryFetchDescendentsObserver::done with empty mCompleteFolders" << llendl;
|
||||
LL_WARNS() << "LLRightClickInventoryFetchDescendentsObserver::done with empty mCompleteFolders" << LL_ENDL;
|
||||
if (clear_observer)
|
||||
{
|
||||
gInventory.removeObserver(this);
|
||||
@@ -2775,8 +2775,8 @@ void LLInventoryCopyAndWearObserver::changed(U32 mask)
|
||||
LLViewerInventoryCategory* category = gInventory.getCategory(mCatID);
|
||||
if (NULL == category)
|
||||
{
|
||||
llwarns << "gInventory.getCategory(" << mCatID
|
||||
<< ") was NULL" << llendl;
|
||||
LL_WARNS() << "gInventory.getCategory(" << mCatID
|
||||
<< ") was NULL" << LL_ENDL;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2840,17 +2840,6 @@ void LLFolderBridge::performAction(LLInventoryModel* model, std::string action)
|
||||
modifyOutfit(FALSE);
|
||||
return;
|
||||
}
|
||||
#if SUPPORT_ENSEMBLES
|
||||
else if ("wearasensemble" == action)
|
||||
{
|
||||
LLInventoryModel* model = getInventoryModel();
|
||||
if(!model) return;
|
||||
LLViewerInventoryCategory* cat = getCategory();
|
||||
if(!cat) return;
|
||||
LLAppearanceMgr::instance().addEnsembleLink(cat,true);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
else if ("addtooutfit" == action)
|
||||
{
|
||||
modifyOutfit(TRUE);
|
||||
@@ -2907,7 +2896,7 @@ void LLFolderBridge::performAction(LLInventoryModel* model, std::string action)
|
||||
#endif
|
||||
else if (isMarketplaceCopyAction(action))
|
||||
{
|
||||
llinfos << "Copy folder to marketplace action!" << llendl;
|
||||
LL_INFOS() << "Copy folder to marketplace action!" << LL_ENDL;
|
||||
|
||||
LLInventoryCategory * cat = gInventory.getCategory(mUUID);
|
||||
if (!cat) return;
|
||||
@@ -2918,7 +2907,7 @@ void LLFolderBridge::performAction(LLInventoryModel* model, std::string action)
|
||||
#if ENABLE_MERCHANT_SEND_TO_MARKETPLACE_CONTEXT_MENU
|
||||
else if (isMarketplaceSendAction(action))
|
||||
{
|
||||
llinfos << "Send to marketplace action!" << llendl;
|
||||
LL_INFOS() << "Send to marketplace action!" << LL_ENDL;
|
||||
|
||||
/*LLInventoryCategory * cat = gInventory.getCategory(mUUID);
|
||||
if (!cat) return;
|
||||
@@ -2931,7 +2920,7 @@ void LLFolderBridge::performAction(LLInventoryModel* model, std::string action)
|
||||
|
||||
void LLFolderBridge::openItem()
|
||||
{
|
||||
lldebugs << "LLFolderBridge::openItem()" << llendl;
|
||||
LL_DEBUGS() << "LLFolderBridge::openItem()" << LL_ENDL;
|
||||
LLInventoryModel* model = getInventoryModel();
|
||||
if(!model) return;
|
||||
if(mUUID.isNull()) return;
|
||||
@@ -3551,7 +3540,7 @@ void LLFolderBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
|
||||
mItems.clear();
|
||||
mDisabledItems.clear();
|
||||
|
||||
lldebugs << "LLFolderBridge::buildContextMenu()" << llendl;
|
||||
LL_DEBUGS() << "LLFolderBridge::buildContextMenu()" << LL_ENDL;
|
||||
|
||||
LLInventoryModel* model = getInventoryModel();
|
||||
if(!model) return;
|
||||
@@ -3604,7 +3593,7 @@ BOOL LLFolderBridge::dragOrDrop(MASK mask, BOOL drop,
|
||||
{
|
||||
LLInventoryItem* inv_item = (LLInventoryItem*)cargo_data;
|
||||
|
||||
//llinfos << "LLFolderBridge::dragOrDrop()" << llendl;
|
||||
//LL_INFOS() << "LLFolderBridge::dragOrDrop()" << LL_ENDL;
|
||||
BOOL accept = FALSE;
|
||||
switch(cargo_type)
|
||||
{
|
||||
@@ -3647,7 +3636,7 @@ BOOL LLFolderBridge::dragOrDrop(MASK mask, BOOL drop,
|
||||
case DAD_NONE:
|
||||
break;
|
||||
default:
|
||||
llwarns << "Unhandled cargo type for drag&drop " << cargo_type << llendl;
|
||||
LL_WARNS() << "Unhandled cargo type for drag&drop " << cargo_type << LL_ENDL;
|
||||
break;
|
||||
}
|
||||
return accept;
|
||||
@@ -4144,7 +4133,7 @@ BOOL LLFolderBridge::dragItemIntoFolder(LLInventoryItem* inv_item,
|
||||
object = gObjectList.findObject(inv_item->getParentUUID());
|
||||
if (!object)
|
||||
{
|
||||
llinfos << "Object not found for drop." << llendl;
|
||||
LL_INFOS() << "Object not found for drop." << LL_ENDL;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -4290,7 +4279,7 @@ BOOL LLFolderBridge::dragItemIntoFolder(LLInventoryItem* inv_item,
|
||||
}
|
||||
else
|
||||
{
|
||||
llwarns << "unhandled drag source" << llendl;
|
||||
LL_WARNS() << "unhandled drag source" << LL_ENDL;
|
||||
}
|
||||
return accept;
|
||||
}
|
||||
@@ -4369,7 +4358,7 @@ bool LLTextureBridge::canSaveTexture()
|
||||
|
||||
void LLTextureBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
|
||||
{
|
||||
lldebugs << "LLTextureBridge::buildContextMenu()" << llendl;
|
||||
LL_DEBUGS() << "LLTextureBridge::buildContextMenu()" << LL_ENDL;
|
||||
menuentry_vec_t items;
|
||||
menuentry_vec_t disabled_items;
|
||||
if(isItemInTrash())
|
||||
@@ -4463,7 +4452,7 @@ void LLSoundBridge::openSoundPreview(void* which)
|
||||
|
||||
void LLSoundBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
|
||||
{
|
||||
lldebugs << "LLSoundBridge::buildContextMenu()" << llendl;
|
||||
LL_DEBUGS() << "LLSoundBridge::buildContextMenu()" << LL_ENDL;
|
||||
menuentry_vec_t items;
|
||||
menuentry_vec_t disabled_items;
|
||||
|
||||
@@ -4524,7 +4513,7 @@ void LLLandmarkBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
|
||||
menuentry_vec_t items;
|
||||
menuentry_vec_t disabled_items;
|
||||
|
||||
lldebugs << "LLLandmarkBridge::buildContextMenu()" << llendl;
|
||||
LL_DEBUGS() << "LLLandmarkBridge::buildContextMenu()" << LL_ENDL;
|
||||
if(isOutboxFolder())
|
||||
{
|
||||
addOutboxContextMenuOptions(flags, items, disabled_items);
|
||||
@@ -4797,7 +4786,7 @@ void LLCallingCardBridge::openItem()
|
||||
|
||||
void LLCallingCardBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
|
||||
{
|
||||
lldebugs << "LLCallingCardBridge::buildContextMenu()" << llendl;
|
||||
LL_DEBUGS() << "LLCallingCardBridge::buildContextMenu()" << LL_ENDL;
|
||||
menuentry_vec_t items;
|
||||
menuentry_vec_t disabled_items;
|
||||
|
||||
@@ -5108,7 +5097,7 @@ BOOL LLGestureBridge::removeItem()
|
||||
|
||||
void LLGestureBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
|
||||
{
|
||||
lldebugs << "LLGestureBridge::buildContextMenu()" << llendl;
|
||||
LL_DEBUGS() << "LLGestureBridge::buildContextMenu()" << LL_ENDL;
|
||||
menuentry_vec_t items;
|
||||
menuentry_vec_t disabled_items;
|
||||
if(isItemInTrash())
|
||||
@@ -5168,7 +5157,7 @@ void LLAnimationBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
|
||||
menuentry_vec_t items;
|
||||
menuentry_vec_t disabled_items;
|
||||
|
||||
lldebugs << "LLAnimationBridge::buildContextMenu()" << llendl;
|
||||
LL_DEBUGS() << "LLAnimationBridge::buildContextMenu()" << LL_ENDL;
|
||||
if(isOutboxFolder())
|
||||
{
|
||||
items.push_back(std::string("Delete"));
|
||||
@@ -5379,7 +5368,7 @@ void rez_attachment(LLViewerInventoryItem* item, LLViewerJointAttachment* attach
|
||||
(gAgentAvatarp->attachmentWasRequested(item_id) ||
|
||||
gAgentAvatarp->isWearingAttachment(item_id)))
|
||||
{
|
||||
llwarns << "duplicate attachment request, ignoring" << llendl;
|
||||
LL_WARNS() << "duplicate attachment request, ignoring" << LL_ENDL;
|
||||
return;
|
||||
}
|
||||
gAgentAvatarp->addAttachmentRequest(item_id);
|
||||
@@ -5669,8 +5658,8 @@ LLWearableBridge::LLWearableBridge(LLInventoryPanel* inventory,
|
||||
void remove_inventory_category_from_avatar( LLInventoryCategory* category )
|
||||
{
|
||||
if(!category) return;
|
||||
lldebugs << "remove_inventory_category_from_avatar( " << category->getName()
|
||||
<< " )" << llendl;
|
||||
LL_DEBUGS() << "remove_inventory_category_from_avatar( " << category->getName()
|
||||
<< " )" << LL_ENDL;
|
||||
if (LLFloaterCustomize::instanceExists())
|
||||
{
|
||||
LLFloaterCustomize::getInstance()->askToSaveIfDirty(boost::bind(&remove_inventory_category_from_avatar_step2,_1,category->getUUID()));
|
||||
@@ -5683,7 +5672,7 @@ void remove_inventory_category_from_avatar_step2( BOOL proceed, LLUUID category_
|
||||
{
|
||||
|
||||
// Find all the wearables that are in the category's subtree.
|
||||
lldebugs << "remove_inventory_category_from_avatar_step2()" << llendl;
|
||||
LL_DEBUGS() << "remove_inventory_category_from_avatar_step2()" << LL_ENDL;
|
||||
if(proceed)
|
||||
{
|
||||
LLInventoryModel::cat_array_t cat_array;
|
||||
@@ -5891,7 +5880,7 @@ void LLWearableBridge::openItem()
|
||||
|
||||
void LLWearableBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
|
||||
{
|
||||
lldebugs << "LLWearableBridge::buildContextMenu()" << llendl;
|
||||
LL_DEBUGS() << "LLWearableBridge::buildContextMenu()" << LL_ENDL;
|
||||
menuentry_vec_t items;
|
||||
menuentry_vec_t disabled_items;
|
||||
if(isItemInTrash())
|
||||
@@ -6103,6 +6092,7 @@ void LLWearableBridge::wearAddOnAvatar()
|
||||
}
|
||||
}
|
||||
|
||||
//Never used.
|
||||
// static
|
||||
//void LLWearableBridge::onWearOnAvatarArrived( LLViewerWearable* wearable, void* userdata )
|
||||
//{
|
||||
@@ -6121,7 +6111,7 @@ void LLWearableBridge::wearAddOnAvatar()
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// llinfos << "By the time wearable asset arrived, its inv item already pointed to a different asset." << llendl;
|
||||
// LL_INFOS() << "By the time wearable asset arrived, its inv item already pointed to a different asset." << LL_ENDL;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
@@ -6148,7 +6138,7 @@ void LLWearableBridge::wearAddOnAvatar()
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// llinfos << "By the time wearable asset arrived, its inv item already pointed to a different asset." << llendl;
|
||||
// LL_INFOS() << "By the time wearable asset arrived, its inv item already pointed to a different asset." << LL_ENDL;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
@@ -6222,7 +6212,7 @@ LLUIImagePtr LLLinkItemBridge::getIcon() const
|
||||
void LLLinkItemBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
|
||||
{
|
||||
// *TODO: Translate
|
||||
lldebugs << "LLLink::buildContextMenu()" << llendl;
|
||||
LL_DEBUGS() << "LLLink::buildContextMenu()" << LL_ENDL;
|
||||
menuentry_vec_t items;
|
||||
menuentry_vec_t disabled_items;
|
||||
|
||||
@@ -6271,7 +6261,7 @@ void LLMeshBridge::previewItem()
|
||||
|
||||
void LLMeshBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
|
||||
{
|
||||
lldebugs << "LLMeshBridge::buildContextMenu()" << llendl;
|
||||
LL_DEBUGS() << "LLMeshBridge::buildContextMenu()" << LL_ENDL;
|
||||
std::vector<std::string> items;
|
||||
std::vector<std::string> disabled_items;
|
||||
|
||||
@@ -6328,7 +6318,7 @@ LLUIImagePtr LLLinkFolderBridge::getIcon() const
|
||||
void LLLinkFolderBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
|
||||
{
|
||||
// *TODO: Translate
|
||||
lldebugs << "LLLink::buildContextMenu()" << llendl;
|
||||
LL_DEBUGS() << "LLLink::buildContextMenu()" << LL_ENDL;
|
||||
menuentry_vec_t items;
|
||||
menuentry_vec_t disabled_items;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user