Fix ancient bug in appearance editor
(ref viewer-release "MAINT-2564 FIXED Alpha mask does not hide hair in the Outfit Editor" and "MAINT-3399 Hairbase renders incorrectly in edit appearance mode")
This commit is contained in:
@@ -1680,7 +1680,7 @@ void LLPanelEditWearable::initPreviousAlphaTextures()
|
||||
initPreviousAlphaTextureEntry(TEX_UPPER_ALPHA);
|
||||
initPreviousAlphaTextureEntry(TEX_HEAD_ALPHA);
|
||||
initPreviousAlphaTextureEntry(TEX_EYES_ALPHA);
|
||||
initPreviousAlphaTextureEntry(TEX_LOWER_ALPHA);
|
||||
initPreviousAlphaTextureEntry(TEX_HAIR_ALPHA);
|
||||
}
|
||||
|
||||
void LLPanelEditWearable::initPreviousAlphaTextureEntry(LLAvatarAppearanceDefines::ETextureIndex te)
|
||||
|
||||
@@ -9014,7 +9014,7 @@ void LLVOAvatar::updateMeshTextures()
|
||||
// set texture and color of hair manually if we are not using a baked image.
|
||||
// This can happen while loading hair for yourself, or for clients that did not
|
||||
// bake a hair texture. Still needed for yourself after 1.22 is depricated.
|
||||
if (!is_layer_baked[BAKED_HAIR] || isEditingAppearance())
|
||||
if (!is_layer_baked[BAKED_HAIR])
|
||||
{
|
||||
const LLColor4 color = mTexHairColor ? mTexHairColor->getColor() : LLColor4(1,1,1,1);
|
||||
LLViewerTexture* hair_img = getImage( TEX_HAIR, 0 );
|
||||
|
||||
Reference in New Issue
Block a user