diff options
-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 b81a2a2..da7d815 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 ("sculpt" == info_display) | ||
9196 | { | ||
9197 | return LLPipeline::RENDER_DEBUG_SCULPTED; | ||
9198 | } | ||
9195 | else | 9199 | else |
9196 | { | 9200 | { |
9197 | return 0; | 9201 | return 0; |
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 53e9e2d..9ff5048 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="Sculpt" label="Sculpt"> | ||
1283 | <on_click function="Advanced.ToggleInfoDisplay" | ||
1284 | userdata="sculpt" /> | ||
1285 | <on_check function="Advanced.CheckInfoDisplay" | ||
1286 | userdata="sculpt" /> | ||
1287 | </menu_item_check> | ||
1282 | <menu_item_check name="Vectorize Perf Test" | 1288 | <menu_item_check name="Vectorize Perf Test" |
1283 | label="Vectorize Perf Test"> | 1289 | label="Vectorize Perf Test"> |
1284 | <on_click function="ToggleControl" | 1290 | <on_click function="ToggleControl" |