diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-10-09 17:19:27 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-10-09 17:19:27 +0300 |
commit | 75d81151c2f380ed92e39ab0278adc21224d911c (patch) | |
tree | 7d50c5a71106a34dc0a2cfc622b8d9c92dc70c94 /indra | |
parent | 6ea75fd4b03ce3a9155781764c9bcf13a637b749 (diff) |
MAINT-2565 FIXED Show texture information in one toast
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llviewermenu.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 3cc4858226..ecf5cc2886 100755 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -7021,10 +7021,6 @@ void handle_selected_texture_info(void*) std::string msg; msg.assign("Texture info for: "); msg.append(node->mName); - - LLSD args; - args["MESSAGE"] = msg; - LLNotificationsUtil::add("SystemMessage", args); U8 te_count = node->getObject()->getNumTEs(); // map from texture ID to list of faces using it @@ -7048,10 +7044,10 @@ void handle_selected_texture_info(void*) S32 height = img->getHeight(); S32 width = img->getWidth(); S32 components = img->getComponents(); - msg = llformat("%dx%d %s on face ", + msg.append(llformat("\n%dx%d %s on face ", width, height, - (components == 4 ? "alpha" : "opaque")); + (components == 4 ? "alpha" : "opaque"))); for (U8 i = 0; i < it->second.size(); ++i) { msg.append( llformat("%d ", (S32)(it->second[i]))); |