SL-18746: Disable transparency control in build floater when the prim has a GLTF material
parent
b7e9f3ba4d
commit
51d5748d64
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue