diff options
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r-- | indra/newview/llviewermenu.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index f4cf31273f..4d7ef5e2fd 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -895,13 +895,15 @@ void init_client_menu(LLMenuGL* menu) NULL, &get_visibility, (void*)gDebugView->mFastTimerView, - '9', MASK_CONTROL|MASK_SHIFT ) ); + '9', MASK_CONTROL|MASK_SHIFT ) ); +#if MEM_TRACK_MEM sub->append(new LLMenuItemCheckGL("Memory", &toggle_visibility, NULL, &get_visibility, (void*)gDebugView->mMemoryView, - '0', MASK_CONTROL|MASK_SHIFT ) ); + '0', MASK_CONTROL|MASK_SHIFT ) ); +#endif sub->appendSeparator(); sub->append(new LLMenuItemCallGL("Region Info to Debug Console", &handle_region_dump_settings, NULL)); @@ -1109,6 +1111,12 @@ void init_client_menu(LLMenuGL* menu) menu->appendMenu(sub); } + menu->append(new LLMenuItemCheckGL( "Output Debug Minidump", + &menu_toggle_control, + NULL, + &menu_check_control, + (void*)"SaveMinidump")); + // TomY Temporary menu item so we can test this floater menu->append(new LLMenuItemCheckGL("Clothing...", &handle_clothing, @@ -1116,7 +1124,7 @@ void init_client_menu(LLMenuGL* menu) NULL, NULL)); - menu->append(new LLMenuItemCallGL("Debug Settings", LLFloaterSettingsDebug::show, NULL, NULL)); + menu->append(new LLMenuItemCallGL("Debug Settings...", LLFloaterSettingsDebug::show, NULL, NULL)); menu->append(new LLMenuItemCheckGL("View Admin Options", &handle_admin_override_toggle, NULL, &check_admin_override, NULL, 'V', MASK_CONTROL | MASK_ALT)); menu->append(new LLMenuItemCallGL("Request Admin Status", @@ -5289,7 +5297,7 @@ class LLShowFloater : public view_listener_t { if (gAgent.getWearablesLoaded()) { - gAgent.changeCameraToCustomizeAvatar(gSavedSettings.getBOOL("AppearanceCameraMovement")); + gAgent.changeCameraToCustomizeAvatar(); } } else if (floater_name == "friends") |