diff options
| author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-08-06 14:28:26 +0100 | 
|---|---|---|
| committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-08-06 14:28:26 +0100 | 
| commit | 0a3493db0804ae71ccff2155847ed40089627d7b (patch) | |
| tree | 3768da1df8cb3197cb8ad1812a0e2811489388b1 | |
| parent | 6d1b8925163e347215a44ec094f974aa860ff35f (diff) | |
EXT-8579 FIXED Develop.Avatar.Animation Info should not show asset IDs
Made it so that you only see real UUIDs if the viewer thinks you are in real godmode.
| -rw-r--r-- | indra/newview/llvoavatar.cpp | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 72aec07e67..1ca10219ce 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -3137,14 +3137,16 @@ BOOL LLVOAvatar::updateCharacter(LLAgent &agent)  				if (motionp->getName().empty())  				{  					output = llformat("%s - %d", -									  motionp->getID().asString().c_str(), -									  (U32)motionp->getPriority()); +							  gAgent.isGodlikeWithoutAdminMenuFakery() ? +							  motionp->getID().asString().c_str() : +							  LLUUID::null.asString().c_str(), +							  (U32)motionp->getPriority());  				}  				else  				{  					output = llformat("%s - %d", -									  motionp->getName().c_str(), -									  (U32)motionp->getPriority()); +							  motionp->getName().c_str(), +							  (U32)motionp->getPriority());  				}  				addDebugText(output);  			} | 
