summaryrefslogtreecommitdiff
path: root/indra/newview/skins
diff options
context:
space:
mode:
authorBrad Linden <46733234+brad-linden@users.noreply.github.com>2024-09-04 10:42:59 -0700
committerGitHub <noreply@github.com>2024-09-04 10:42:59 -0700
commit2a188ab306041f28dc40877da1e93ad13f36f8a5 (patch)
tree11641f5d5151f49a020de17e5bee27d6dc0d9ec3 /indra/newview/skins
parentcb9f3dcfe9a55789b757bf5a7d9af3d93710c20f (diff)
Fix another 1856 crash on startup case when Terrain Bake shaders are unsupported (#2491)
fixes secondlife/viewer#1856
Diffstat (limited to 'indra/newview/skins')
-rw-r--r--indra/newview/skins/default/xui/en/menu_viewer.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml
index 40f3e51fca..56dcf15583 100644
--- a/indra/newview/skins/default/xui/en/menu_viewer.xml
+++ b/indra/newview/skins/default/xui/en/menu_viewer.xml
@@ -3672,9 +3672,10 @@ function="World.EnvPreset"
<menu_item_separator/>
<menu_item_call
- enabled="true"
label="Create Local Paintmap"
name="Create Local Paintmap">
+ <menu_item_call.on_enable
+ function="EnableTerrainLocalPaintMap"/>
<menu_item_call.on_click
function="Advanced.TerrainCreateLocalPaintMap" />
</menu_item_call>