diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-05-28 14:37:38 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-05-28 16:49:41 +0300 |
commit | db627bc3544b828982a2a366972e0adf86e42f75 (patch) | |
tree | 767cf719afed7b76c26c3d7a37b8155a2b81e9c8 /indra/newview | |
parent | 04c4d18f70b5e6406ecf6d7b823774cdb6aff4d8 (diff) |
viewer#1553 Local PBR materials are not applied to the terrain
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lllocalgltfmaterials.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/lllocalgltfmaterials.cpp b/indra/newview/lllocalgltfmaterials.cpp index cf0742299c..0740e1289a 100644 --- a/indra/newview/lllocalgltfmaterials.cpp +++ b/indra/newview/lllocalgltfmaterials.cpp @@ -177,6 +177,8 @@ bool LLLocalGLTFMaterial::updateSelf() } } + materialBegin(); + materialComplete(true); updated = true; } @@ -201,6 +203,8 @@ bool LLLocalGLTFMaterial::updateSelf() LLNotificationsUtil::add("LocalBitmapsUpdateFailedFinal", notif_args); mLinkStatus = LS_BROKEN; + materialBegin(); + materialComplete(false); } } } @@ -218,6 +222,8 @@ bool LLLocalGLTFMaterial::updateSelf() LLNotificationsUtil::add("LocalBitmapsUpdateFileNotFound", notif_args); mLinkStatus = LS_BROKEN; + materialBegin(); + materialComplete(false); } } |