diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-03-31 15:16:44 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-03-31 15:16:44 -0400 |
commit | 1ee1004e126293bbfc2fd901f0e6f73e1952cc73 (patch) | |
tree | 98e3506cbf467479881df3fda52cf0d285463d15 /indra/newview/llviewermenu.cpp | |
parent | fc8c4ea485f34ef52b2c3e037124795e5df9c064 (diff) |
EXT-6666 : Enable debug avatar textures in God, versus non-Release, mode
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r-- | indra/newview/llviewermenu.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 3a6aed01ce..b54305f021 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -1802,9 +1802,10 @@ class LLAdvancedDebugAvatarTextures : public view_listener_t { bool handleEvent(const LLSD& userdata) { -#ifndef LL_RELEASE_FOR_DOWNLOAD - handle_debug_avatar_textures(NULL); -#endif + if (gAgent.isGodlike()) + { + handle_debug_avatar_textures(NULL); + } return true; } }; |