diff options
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index 36ffc21..efadf67 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -6085,7 +6085,10 @@ void handle_selected_texture_info(void*) | |||
6085 | S32 height = img->getHeight(); | 6085 | S32 height = img->getHeight(); |
6086 | S32 width = img->getWidth(); | 6086 | S32 width = img->getWidth(); |
6087 | S32 components = img->getComponents(); | 6087 | S32 components = img->getComponents(); |
6088 | msg = llformat("%dx%d %s on face ", | 6088 | std::string image_id_string = image_id.asString(); |
6089 | image_id_string = image_id_string.replace(24, 35, 12, '*') + " "; // hide last segment to discourage theft | ||
6090 | msg = llformat("%s%dx%d %s on face ", | ||
6091 | image_id_string.c_str(), | ||
6089 | width, | 6092 | width, |
6090 | height, | 6093 | height, |
6091 | (components == 4 ? "alpha" : "opaque")); | 6094 | (components == 4 ? "alpha" : "opaque")); |