Skip to content

Commit 1b14571

Browse files
committed
SL-20715 Mask cutoff not copied corretly in build tools
1 parent 88b228a commit 1b14571

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

indra/newview/llpanelface.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4759,8 +4759,6 @@ void LLPanelFace::onPasteTexture(LLViewerObject* objectp, S32 te)
47594759
{
47604760
LLUUID object_id = objectp->getID();
47614761

4762-
LLSelectedTEMaterial::setAlphaMaskCutoff(this, (U8)te_data["material"]["SpecRot"].asInteger(), te, object_id);
4763-
47644762
// Normal
47654763
// Replace placeholders with target's
47664764
if (te_data["material"].has("NormMapNoCopy"))
@@ -4807,6 +4805,7 @@ void LLPanelFace::onPasteTexture(LLViewerObject* objectp, S32 te)
48074805
LLSelectedTEMaterial::setSpecularLightExponent(this, (U8)te_data["material"]["SpecExp"].asInteger(), te, object_id);
48084806
LLSelectedTEMaterial::setEnvironmentIntensity(this, (U8)te_data["material"]["EnvIntensity"].asInteger(), te, object_id);
48094807
LLSelectedTEMaterial::setDiffuseAlphaMode(this, (U8)te_data["material"]["DiffuseAlphaMode"].asInteger(), te, object_id);
4808+
LLSelectedTEMaterial::setAlphaMaskCutoff(this, (U8)te_data["material"]["AlphaMaskCutoff"].asInteger(), te, object_id);
48104809
if (te_data.has("te") && te_data["te"].has("shiny"))
48114810
{
48124811
objectp->setTEShiny(te, (U8)te_data["te"]["shiny"].asInteger());

0 commit comments

Comments
 (0)