aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r--linden/indra/newview/llviewermenu.cpp32
1 files changed, 2 insertions, 30 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index 3bf390e..7c653be 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -786,12 +786,6 @@ void init_client_menu(LLMenuGL* menu)
786 menu->appendMenu(sub_menu); 786 menu->appendMenu(sub_menu);
787 787
788 menu->appendSeparator(); 788 menu->appendSeparator();
789
790 menu->append(new LLMenuItemCheckGL( "High-res Snapshot",
791 &menu_toggle_control,
792 NULL,
793 &menu_check_control,
794 (void*)"HighResSnapshot"));
795 789
796 menu->append(new LLMenuItemCheckGL( "Quiet Snapshots to Disk", 790 menu->append(new LLMenuItemCheckGL( "Quiet Snapshots to Disk",
797 &menu_toggle_control, 791 &menu_toggle_control,
@@ -799,12 +793,6 @@ void init_client_menu(LLMenuGL* menu)
799 &menu_check_control, 793 &menu_check_control,
800 (void*)"QuietSnapshotsToDisk")); 794 (void*)"QuietSnapshotsToDisk"));
801 795
802 menu->append(new LLMenuItemCheckGL( "Compress Snapshots to Disk",
803 &menu_toggle_control,
804 NULL,
805 &menu_check_control,
806 (void*)"CompressSnapshotsToDisk"));
807
808 menu->append(new LLMenuItemCheckGL("Show Mouselook Crosshairs", 796 menu->append(new LLMenuItemCheckGL("Show Mouselook Crosshairs",
809 &menu_toggle_control, 797 &menu_toggle_control,
810 NULL, 798 NULL,
@@ -923,12 +911,6 @@ void init_client_menu(LLMenuGL* menu)
923 &menu_check_control, 911 &menu_check_control,
924 (void*)"LimitSelectDistance")); 912 (void*)"LimitSelectDistance"));
925 913
926 menu->append(new LLMenuItemCheckGL("Disable Camera Constraints",
927 &menu_toggle_control,
928 NULL,
929 &menu_check_control,
930 (void*)"DisableCameraConstraints"));
931
932 menu->append(new LLMenuItemCheckGL("Mouse Smoothing", 914 menu->append(new LLMenuItemCheckGL("Mouse Smoothing",
933 &menu_toggle_control, 915 &menu_toggle_control,
934 NULL, 916 NULL,
@@ -1379,7 +1361,7 @@ void init_debug_avatar_menu(LLMenuGL* menu)
1379 menu->append(new LLMenuItemToggleGL( "Display Agent Target", &LLAgent::sDebugDisplayTarget)); 1361 menu->append(new LLMenuItemToggleGL( "Display Agent Target", &LLAgent::sDebugDisplayTarget));
1380 menu->append(new LLMenuItemToggleGL( "Debug Rotation", &gDebugAvatarRotation)); 1362 menu->append(new LLMenuItemToggleGL( "Debug Rotation", &gDebugAvatarRotation));
1381 menu->append(new LLMenuItemCallGL("Dump Attachments", handle_dump_attachments)); 1363 menu->append(new LLMenuItemCallGL("Dump Attachments", handle_dump_attachments));
1382 menu->append(new LLMenuItemCallGL("Rebake Textures", handle_rebake_textures, NULL, NULL, 'R', MASK_ALT | MASK_CONTROL )); 1364 menu->append(new LLMenuItemCallGL("Refresh Appearance", handle_rebake_textures, NULL, NULL, 'R', MASK_ALT | MASK_CONTROL ));
1383#ifndef LL_RELEASE_FOR_DOWNLOAD 1365#ifndef LL_RELEASE_FOR_DOWNLOAD
1384 menu->append(new LLMenuItemCallGL("Debug Avatar Textures", handle_debug_avatar_textures, NULL, NULL, 'A', MASK_SHIFT|MASK_CONTROL|MASK_ALT)); 1366 menu->append(new LLMenuItemCallGL("Debug Avatar Textures", handle_debug_avatar_textures, NULL, NULL, 'A', MASK_SHIFT|MASK_CONTROL|MASK_ALT));
1385 menu->append(new LLMenuItemCallGL("Dump Local Textures", handle_dump_avatar_local_textures, NULL, NULL, 'M', MASK_SHIFT|MASK_ALT )); 1367 menu->append(new LLMenuItemCallGL("Dump Local Textures", handle_dump_avatar_local_textures, NULL, NULL, 'M', MASK_SHIFT|MASK_ALT ));
@@ -6259,11 +6241,6 @@ BOOL menu_ui_enabled(void *user_data)
6259void menu_toggle_control( void* user_data ) 6241void menu_toggle_control( void* user_data )
6260{ 6242{
6261 BOOL checked = gSavedSettings.getBOOL( static_cast<char*>(user_data) ); 6243 BOOL checked = gSavedSettings.getBOOL( static_cast<char*>(user_data) );
6262 if (std::string(static_cast<char*>(user_data)) == "HighResSnapshot" && !checked)
6263 {
6264 // High Res Snapshot active, must uncheck RenderUIInSnapshot
6265 gSavedSettings.setBOOL( "RenderUIInSnapshot", FALSE );
6266 }
6267 gSavedSettings.setBOOL( static_cast<char*>(user_data), !checked ); 6244 gSavedSettings.setBOOL( static_cast<char*>(user_data), !checked );
6268} 6245}
6269 6246
@@ -6275,11 +6252,6 @@ class LLToggleControl : public view_listener_t
6275 { 6252 {
6276 std::string control_name = userdata.asString(); 6253 std::string control_name = userdata.asString();
6277 BOOL checked = gSavedSettings.getBOOL( control_name ); 6254 BOOL checked = gSavedSettings.getBOOL( control_name );
6278 if (control_name == "HighResSnapshot" && !checked)
6279 {
6280 // High Res Snapshot active, must uncheck RenderUIInSnapshot
6281 gSavedSettings.setBOOL( "RenderUIInSnapshot", FALSE );
6282 }
6283 gSavedSettings.setBOOL( control_name, !checked ); 6255 gSavedSettings.setBOOL( control_name, !checked );
6284 return true; 6256 return true;
6285 } 6257 }
@@ -9788,6 +9760,7 @@ void initialize_menus()
9788 addMenu(new LLEditEnableDuplicate(), "Edit.EnableDuplicate"); 9760 addMenu(new LLEditEnableDuplicate(), "Edit.EnableDuplicate");
9789 addMenu(new LLEditEnableTakeOff(), "Edit.EnableTakeOff"); 9761 addMenu(new LLEditEnableTakeOff(), "Edit.EnableTakeOff");
9790 addMenu(new LLEditEnableCustomizeAvatar(), "Edit.EnableCustomizeAvatar"); 9762 addMenu(new LLEditEnableCustomizeAvatar(), "Edit.EnableCustomizeAvatar");
9763 addMenu(new LLAdvancedRebakeTextures(), "Advanced.RebakeTextures");
9791 9764
9792 // View menu 9765 // View menu
9793 addMenu(new LLViewMouselook(), "View.Mouselook"); 9766 addMenu(new LLViewMouselook(), "View.Mouselook");
@@ -10096,7 +10069,6 @@ void initialize_menus()
10096 addMenu(new LLAdvancedToggleDebugAvatarRotation(), "Advanced.ToggleDebugAvatarRotation"); 10069 addMenu(new LLAdvancedToggleDebugAvatarRotation(), "Advanced.ToggleDebugAvatarRotation");
10097 addMenu(new LLAdvancedCheckDebugAvatarRotation(), "Advanced.CheckDebugAvatarRotation"); 10070 addMenu(new LLAdvancedCheckDebugAvatarRotation(), "Advanced.CheckDebugAvatarRotation");
10098 addMenu(new LLAdvancedDumpAttachments(), "Advanced.DumpAttachments"); 10071 addMenu(new LLAdvancedDumpAttachments(), "Advanced.DumpAttachments");
10099 addMenu(new LLAdvancedRebakeTextures(), "Advanced.RebakeTextures");
10100 addMenu(new LLAdvancedDebugAvatarTextures(), "Advanced.DebugAvatarTextures"); 10072 addMenu(new LLAdvancedDebugAvatarTextures(), "Advanced.DebugAvatarTextures");
10101 addMenu(new LLAdvancedDumpAvatarLocalTextures(), "Advanced.DumpAvatarLocalTextures"); 10073 addMenu(new LLAdvancedDumpAvatarLocalTextures(), "Advanced.DumpAvatarLocalTextures");
10102 10074