diff options
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 4 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index da7d815..95e686d 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -9192,6 +9192,10 @@ U32 info_display_from_string(std::string info_display) | |||
9192 | { | 9192 | { |
9193 | return LLPipeline::RENDER_DEBUG_GLOW; | 9193 | return LLPipeline::RENDER_DEBUG_GLOW; |
9194 | } | 9194 | } |
9195 | else if ("raycasting" == info_display) | ||
9196 | { | ||
9197 | return LLPipeline::RENDER_DEBUG_RAYCAST; | ||
9198 | } | ||
9195 | else if ("sculpt" == info_display) | 9199 | else if ("sculpt" == info_display) |
9196 | { | 9200 | { |
9197 | return LLPipeline::RENDER_DEBUG_SCULPTED; | 9201 | return LLPipeline::RENDER_DEBUG_SCULPTED; |
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml index 9ff5048..534ca83 100644 --- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml +++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml | |||
@@ -1279,6 +1279,12 @@ | |||
1279 | <on_check function="Advanced.CheckInfoDisplay" | 1279 | <on_check function="Advanced.CheckInfoDisplay" |
1280 | userdata="glow" /> | 1280 | userdata="glow" /> |
1281 | </menu_item_check> | 1281 | </menu_item_check> |
1282 | <menu_item_check name="Raycasting" label="Raycasting"> | ||
1283 | <on_click function="Advanced.ToggleInfoDisplay" | ||
1284 | userdata="raycasting" /> | ||
1285 | <on_check function="Advanced.CheckInfoDisplay" | ||
1286 | userdata="raycasting" /> | ||
1287 | </menu_item_check> | ||
1282 | <menu_item_check name="Sculpt" label="Sculpt"> | 1288 | <menu_item_check name="Sculpt" label="Sculpt"> |
1283 | <on_click function="Advanced.ToggleInfoDisplay" | 1289 | <on_click function="Advanced.ToggleInfoDisplay" |
1284 | userdata="sculpt" /> | 1290 | userdata="sculpt" /> |