diff options
author | cosmic-linden <111533034+cosmic-linden@users.noreply.github.com> | 2024-06-13 12:51:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-13 12:51:39 -0700 |
commit | 0ed3483b338376b7a18a05efae6fbc1d4b5db870 (patch) | |
tree | 72851774ff2b1814a943f64df338ec824bb30643 /indra/newview/lldrawpoolterrain.cpp | |
parent | 162c87a0a852952cf8dca05d37211403612a9933 (diff) | |
parent | 74765c15731e6b6859b627b898472299ed351e0d (diff) |
Merge pull request #1743 from secondlife/v-1475
secondlife/viewer#1475: Fix Terrain tab controls no longer disabled when insufficient permissions
Diffstat (limited to 'indra/newview/lldrawpoolterrain.cpp')
-rw-r--r-- | indra/newview/lldrawpoolterrain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolterrain.cpp b/indra/newview/lldrawpoolterrain.cpp index 2897f3d749..afc5cc9d4e 100644 --- a/indra/newview/lldrawpoolterrain.cpp +++ b/indra/newview/lldrawpoolterrain.cpp @@ -202,7 +202,7 @@ void LLDrawPoolTerrain::drawLoop() void LLDrawPoolTerrain::renderFullShader() { - const bool use_local_materials = gLocalTerrainMaterials.materialsReady(true, false); + const bool use_local_materials = gLocalTerrainMaterials.makeMaterialsReady(true, false); // Hack! Get the region that this draw pool is rendering from! LLViewerRegion *regionp = mDrawFace[0]->getDrawable()->getVObj()->getRegion(); LLVLComposition *compp = regionp->getComposition(); |