diff options
author | cosmic-linden <111533034+cosmic-linden@users.noreply.github.com> | 2022-12-01 09:06:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-01 09:06:47 -0800 |
commit | 9e8f15bc4b153264c9691912cea1effdbaad3da5 (patch) | |
tree | 15419d952e79fbd825640543495f2c373d7fea70 /indra/newview/llpanelface.cpp | |
parent | b095194267389b0f5512fb14f18338bd256f3e81 (diff) | |
parent | 51d5748d64cf90896f2c4945e8d13dd98a9be65b (diff) |
Merge pull request #19 from secondlife/SL-18746
SL-18746: Fix misplaced control in build menu
Diffstat (limited to 'indra/newview/llpanelface.cpp')
-rw-r--r-- | indra/newview/llpanelface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index 3d72865f69..2b1862304a 100644 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -1064,7 +1064,7 @@ void LLPanelFace::updateUI(bool force_set_values /*false*/) F32 transparency = (1.f - color.mV[VALPHA]) * 100.f; getChild<LLUICtrl>("ColorTrans")->setValue(editable ? transparency : 0); - getChildView("ColorTrans")->setEnabled(editable); + getChildView("ColorTrans")->setEnabled(editable && has_material); // Specular map LLSelectedTEMaterial::getSpecularID(specmap_id, identical_spec); |