diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-11-07 15:28:38 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-11-07 15:28:38 -0500 |
commit | f5a4c277cbf83d6adbb5f2040f3a9e2bfaa02277 (patch) | |
tree | 101920cf0fee27a7bada997f446a4503ef5e339f /indra/llcharacter | |
parent | 2a9448f90aa195f01e3756cb48c55ca759aa0f29 (diff) |
SH-3500 FIX - added additional logging to allow params in various locations to be distinguished
Diffstat (limited to 'indra/llcharacter')
-rwxr-xr-x | indra/llcharacter/llvisualparam.cpp | 12 | ||||
-rwxr-xr-x | indra/llcharacter/llvisualparam.h | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/indra/llcharacter/llvisualparam.cpp b/indra/llcharacter/llvisualparam.cpp index d80dfb8c21..f7cb0f76b7 100755 --- a/indra/llcharacter/llvisualparam.cpp +++ b/indra/llcharacter/llvisualparam.cpp @@ -322,6 +322,18 @@ void LLVisualParam::resetDrivenParams() return; } +const std::string param_location_name(const EParamLocation& loc) +{ + switch (loc) + { + case LOC_UNKNOWN: return "unknown"; + case LOC_AV_SELF: return "self"; + case LOC_AV_OTHER: return "other"; + case LOC_WEARABLE: return "wearable"; + default: return "error"; + } +} + void LLVisualParam::setParamLocation(EParamLocation loc) { if (mParamLocation == LOC_UNKNOWN || loc == LOC_UNKNOWN) diff --git a/indra/llcharacter/llvisualparam.h b/indra/llcharacter/llvisualparam.h index 8345990f47..a5864c15ce 100755 --- a/indra/llcharacter/llvisualparam.h +++ b/indra/llcharacter/llvisualparam.h @@ -58,6 +58,8 @@ enum EParamLocation LOC_WEARABLE }; +const std::string param_location_name(const EParamLocation& loc); + const S32 MAX_TRANSMITTED_VISUAL_PARAMS = 255; //----------------------------------------------------------------------------- |