From 8a13530ce4eeb481ee467fd3ec54f1ed7e9f632a Mon Sep 17 00:00:00 2001 From: Anchor Linden Date: Wed, 27 Jun 2018 03:08:06 +0530 Subject: [MAINT-8742] - fix color/tint on universal tattoos --- indra/llappearance/llavatarappearance.cpp | 10 +- indra/newview/character/avatar_lad.xml | 270 ++++++++++++++++++++++++++++++ indra/newview/llpaneleditwearable.cpp | 1 + 3 files changed, 278 insertions(+), 3 deletions(-) diff --git a/indra/llappearance/llavatarappearance.cpp b/indra/llappearance/llavatarappearance.cpp index 49655054b6..b1dd4a4cb1 100644 --- a/indra/llappearance/llavatarappearance.cpp +++ b/indra/llappearance/llavatarappearance.cpp @@ -1476,6 +1476,10 @@ BOOL LLAvatarAppearance::teToColorParams( ETextureIndex te, U32 *param_name ) case TEX_HEAD_TATTOO: case TEX_LOWER_TATTOO: case TEX_UPPER_TATTOO: + param_name[0] = 1071; //"tattoo_red"; + param_name[1] = 1072; //"tattoo_green"; + param_name[2] = 1073; //"tattoo_blue"; + break; case TEX_HEAD_UNIVERSAL_TATTOO: case TEX_UPPER_UNIVERSAL_TATTOO: case TEX_LOWER_UNIVERSAL_TATTOO: @@ -1487,9 +1491,9 @@ BOOL LLAvatarAppearance::teToColorParams( ETextureIndex te, U32 *param_name ) case TEX_AUX1_TATTOO: case TEX_AUX2_TATTOO: case TEX_AUX3_TATTOO: - param_name[0] = 1071; //"tattoo_red"; - param_name[1] = 1072; //"tattoo_green"; - param_name[2] = 1073; //"tattoo_blue"; + param_name[0] = 1029; //"tattoo_universal_red"; + param_name[1] = 1030; //"tattoo_universal_green"; + param_name[2] = 1031; //"tattoo_universal_blue"; break; default: diff --git a/indra/newview/character/avatar_lad.xml b/indra/newview/character/avatar_lad.xml index 418fa9b6e2..e19fe9b785 100644 --- a/indra/newview/character/avatar_lad.xml +++ b/indra/newview/character/avatar_lad.xml @@ -16632,7 +16632,277 @@ render_pass="bump"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +