We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b8dc2f commit 7a7215bCopy full SHA for 7a7215b
indra/newview/llfloaterregioninfo.cpp
@@ -1492,6 +1492,11 @@ bool LLPanelRegionTerrainInfo::validateMaterials()
1492
const LLUUID& material_asset_id = material_ctrl->getImageAssetID();
1493
llassert(material_asset_id.notNull());
1494
if (material_asset_id.isNull()) { return false; }
1495
+ if (material_asset_id == BLANK_MATERIAL_ASSET_ID)
1496
+ {
1497
+ // Default/Blank material is valid by default
1498
+ continue;
1499
+ }
1500
const LLFetchedGLTFMaterial* material = gGLTFMaterialList.getMaterial(material_asset_id);
1501
if (!material->isLoaded())
1502
{
0 commit comments