diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2022-11-30 16:05:50 -0800 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2022-11-30 16:05:50 -0800 |
commit | 51d5748d64cf90896f2c4945e8d13dd98a9be65b (patch) | |
tree | f6189b2db69e924b08f7dc4805de344a9642abd3 /indra/newview | |
parent | b7e9f3ba4df02890700521f14614d5f5249cddf9 (diff) |
SL-18746: Disable transparency control in build floater when the prim has a GLTF material
Diffstat (limited to 'indra/newview')
-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); |