diff --git a/indra/newview/llfloatercustomize.cpp b/indra/newview/llfloatercustomize.cpp index 840ab34ce..50cb1294d 100644 --- a/indra/newview/llfloatercustomize.cpp +++ b/indra/newview/llfloatercustomize.cpp @@ -450,10 +450,13 @@ LLPanelEditWearable::LLPanelEditWearable( EWearableType type ) BOOL LLPanelEditWearable::postBuild() { LLAssetType::EType asset_type = LLWearable::typeToAssetType( mType ); - std::string icon_name = (asset_type == LLAssetType::AT_CLOTHING ? + /*std::string icon_name = (asset_type == LLAssetType::AT_CLOTHING ? "inv_item_clothing.tga" : - "inv_item_skin.tga" ); - childSetValue("icon", icon_name); + "inv_item_skin.tga" );*/ + std::string icon_name = get_item_icon_name(asset_type,LLInventoryType::IT_WEARABLE,mType,FALSE); + + childSetValue("icon", icon_name); + childSetValue("icon", icon_name); childSetAction("Create New", LLPanelEditWearable::onBtnCreateNew, this ); @@ -2210,6 +2213,7 @@ void LLFloaterCustomize::initWearablePanels() part->mTargetOffset.setVec(0.f, 0.f, 0.1f); part->mCameraOffset.setVec(-2.5f, 0.5f, 0.8f); panel->addSubpart(LLStringUtil::null, SUBPART_TATTOO, part); + panel->addColorSwatch(TEX_LOWER_TATTOO, "Color/Tint"); panel->addTextureDropTarget(TEX_LOWER_TATTOO, "Lower Tattoo", LLUUID::null, diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 09cc3d662..406c8dd76 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -1525,6 +1525,7 @@ void LLVOAvatar::initClass() } { + updateClientTags(); loadClientTags(); } } @@ -8589,6 +8590,14 @@ BOOL LLVOAvatar::teToColorParams( ETextureIndex te, const char* param_name[3] ) param_name[2] = "skirt_blue"; break; + case TEX_HEAD_TATTOO: + case TEX_LOWER_TATTOO: + case TEX_UPPER_TATTOO: + param_name[0] = "tattoo_red"; + param_name[1] = "tattoo_green"; + param_name[2] = "tattoo_blue"; + break; + default: llassert(0); return FALSE; diff --git a/indra/newview/skins/default/xui/en-us/floater_customize.xml b/indra/newview/skins/default/xui/en-us/floater_customize.xml index 25b86f06c..17b3a5f37 100644 --- a/indra/newview/skins/default/xui/en-us/floater_customize.xml +++ b/indra/newview/skins/default/xui/en-us/floater_customize.xml @@ -1190,11 +1190,15 @@ scratch and wear it. +