From 2a188ab306041f28dc40877da1e93ad13f36f8a5 Mon Sep 17 00:00:00 2001
From: Brad Linden <46733234+brad-linden@users.noreply.github.com>
Date: Wed, 4 Sep 2024 10:42:59 -0700
Subject: Fix another 1856 crash on startup case when Terrain Bake shaders are
unsupported (#2491)
fixes secondlife/viewer#1856
---
indra/newview/app_settings/settings.xml | 11 +++++++++++
indra/newview/llviewermenu.cpp | 7 +++++++
indra/newview/llviewershadermgr.cpp | 9 ++++++++-
indra/newview/skins/default/xui/en/menu_viewer.xml | 3 ++-
4 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 5e7ae32b81..56cd58d88e 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -7183,6 +7183,17 @@
Value
1
+ RenderCanUseTerrainBakeShaders
+
RenderClass1MemoryBandwidth