diff options
author | McCabe Maxsted | 2009-09-09 16:57:26 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-09-09 16:57:26 -0700 |
commit | 287284331af10af8a55914d00b2c61d5fd40642f (patch) | |
tree | d6a901309f9dc6cfa492dc6cd5e34e9972dfd42e /linden/indra | |
parent | Removed old comment (diff) | |
download | meta-impy-287284331af10af8a55914d00b2c61d5fd40642f.zip meta-impy-287284331af10af8a55914d00b2c61d5fd40642f.tar.gz meta-impy-287284331af10af8a55914d00b2c61d5fd40642f.tar.bz2 meta-impy-287284331af10af8a55914d00b2c61d5fd40642f.tar.xz |
Applied ReinstateShowTextureUUID Cool Viewer patch (reverts the fix for VWR-1919)
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/newview/lltexturectrl.cpp | 7 | ||||
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/linden/indra/newview/lltexturectrl.cpp b/linden/indra/newview/lltexturectrl.cpp index be0b8eb..71135d7 100644 --- a/linden/indra/newview/lltexturectrl.cpp +++ b/linden/indra/newview/lltexturectrl.cpp | |||
@@ -349,6 +349,13 @@ void LLFloaterTexturePicker::updateImageStats() | |||
349 | { | 349 | { |
350 | mResolutionLabel->setTextArg("[DIMENSIONS]", std::string("[? x ?]")); | 350 | mResolutionLabel->setTextArg("[DIMENSIONS]", std::string("[? x ?]")); |
351 | } | 351 | } |
352 | if (gAgent.isGodlike()) | ||
353 | { | ||
354 | std::string tstring = "Pick: "; | ||
355 | std::string image_id_string = mTexturep->getID().asString(); | ||
356 | tstring = tstring + image_id_string.replace(24, 35, 12, '*'); // hide last segment to discourage theft | ||
357 | setTitle(tstring); | ||
358 | } | ||
352 | } | 359 | } |
353 | } | 360 | } |
354 | 361 | ||
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")); |