summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelface.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-10-28 19:58:27 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-10-28 20:08:53 +0300
commit6d0fcc0e616ff58f4a83bc3730374c5509ee959a (patch)
tree3ab31e4ded9fd2ec0fc7ac7c33f3b7ec7ff8fdc9 /indra/newview/llpanelface.cpp
parente72d0161bb086799d445b54e0e73c2dc13e4643a (diff)
SL-17699 Blank material Id for material picker
Diffstat (limited to 'indra/newview/llpanelface.cpp')
-rw-r--r--indra/newview/llpanelface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index c6e0bc5153..6d8d19c57c 100644
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -223,7 +223,7 @@ BOOL LLPanelFace::postBuild()
if (pbr_ctrl)
{
pbr_ctrl->setDefaultImageAssetID(LLUUID::null);
- pbr_ctrl->setBlankImageAssetID(LLUUID::null); // should there be some empty default material?
+ pbr_ctrl->setBlankImageAssetID(LLGLTFMaterialList::BLANK_MATERIAL_ASSET_ID);
pbr_ctrl->setCommitCallback(boost::bind(&LLPanelFace::onCommitPbr, this, _2));
pbr_ctrl->setOnCancelCallback(boost::bind(&LLPanelFace::onCancelPbr, this, _2));
pbr_ctrl->setOnSelectCallback(boost::bind(&LLPanelFace::onSelectPbr, this, _2));