diff options
Diffstat (limited to 'linden')
7 files changed, 67 insertions, 76 deletions
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml index af15b86..01f6add 100644 --- a/linden/indra/newview/app_settings/settings.xml +++ b/linden/indra/newview/app_settings/settings.xml | |||
@@ -1849,17 +1849,6 @@ | |||
1849 | <integer>0</integer> | 1849 | <integer>0</integer> |
1850 | </array> | 1850 | </array> |
1851 | </map> | 1851 | </map> |
1852 | <key>CompressSnapshotsToDisk</key> | ||
1853 | <map> | ||
1854 | <key>Comment</key> | ||
1855 | <string>Compress snapshots saved to disk (Using JPEG 2000)</string> | ||
1856 | <key>Persist</key> | ||
1857 | <integer>1</integer> | ||
1858 | <key>Type</key> | ||
1859 | <string>Boolean</string> | ||
1860 | <key>Value</key> | ||
1861 | <integer>0</integer> | ||
1862 | </map> | ||
1863 | <key>ConnectAsGod</key> | 1852 | <key>ConnectAsGod</key> |
1864 | <map> | 1853 | <map> |
1865 | <key>Comment</key> | 1854 | <key>Comment</key> |
@@ -4387,7 +4376,7 @@ | |||
4387 | <key>Type</key> | 4376 | <key>Type</key> |
4388 | <string>Boolean</string> | 4377 | <string>Boolean</string> |
4389 | <key>Value</key> | 4378 | <key>Value</key> |
4390 | <integer>0</integer> | 4379 | <integer>1</integer> |
4391 | </map> | 4380 | </map> |
4392 | <key>LipSyncOoh</key> | 4381 | <key>LipSyncOoh</key> |
4393 | <map> | 4382 | <map> |
diff --git a/linden/indra/newview/llfloatersnapshot.cpp b/linden/indra/newview/llfloatersnapshot.cpp index 954bf9f..6e66103 100644 --- a/linden/indra/newview/llfloatersnapshot.cpp +++ b/linden/indra/newview/llfloatersnapshot.cpp | |||
@@ -992,6 +992,7 @@ public: | |||
992 | static void onClickLess(void* data) ; | 992 | static void onClickLess(void* data) ; |
993 | static void onClickMore(void* data) ; | 993 | static void onClickMore(void* data) ; |
994 | static void onClickUICheck(LLUICtrl *ctrl, void* data); | 994 | static void onClickUICheck(LLUICtrl *ctrl, void* data); |
995 | static void onClickHighResCheck(LLUICtrl *ctrl, void* data); | ||
995 | static void onClickHUDCheck(LLUICtrl *ctrl, void* data); | 996 | static void onClickHUDCheck(LLUICtrl *ctrl, void* data); |
996 | static void onClickKeepOpenCheck(LLUICtrl *ctrl, void* data); | 997 | static void onClickKeepOpenCheck(LLUICtrl *ctrl, void* data); |
997 | static void onClickKeepAspectCheck(LLUICtrl *ctrl, void* data); | 998 | static void onClickKeepAspectCheck(LLUICtrl *ctrl, void* data); |
@@ -1105,6 +1106,10 @@ void LLFloaterSnapshot::Impl::updateLayout(LLFloaterSnapshot* floaterp) | |||
1105 | { | 1106 | { |
1106 | LLSnapshotLivePreview* previewp = getPreviewView(floaterp); | 1107 | LLSnapshotLivePreview* previewp = getPreviewView(floaterp); |
1107 | 1108 | ||
1109 | LLSnapshotLivePreview::ESnapshotType shot_type = getTypeIndex(floaterp); | ||
1110 | if (shot_type != LLSnapshotLivePreview::SNAPSHOT_LOCAL) | ||
1111 | gSavedSettings.setBOOL("HighResSnapshot", FALSE); | ||
1112 | |||
1108 | S32 delta_height = gSavedSettings.getBOOL("AdvanceSnapshot") ? 0 : floaterp->getUIWinHeightShort() - floaterp->getUIWinHeightLong() ; | 1113 | S32 delta_height = gSavedSettings.getBOOL("AdvanceSnapshot") ? 0 : floaterp->getUIWinHeightShort() - floaterp->getUIWinHeightLong() ; |
1109 | 1114 | ||
1110 | LLComboBox* combo; | 1115 | LLComboBox* combo; |
@@ -1234,6 +1239,7 @@ void LLFloaterSnapshot::Impl::updateControls(LLFloaterSnapshot* floater) | |||
1234 | floater->childSetVisible("snapshot_height", is_advance); | 1239 | floater->childSetVisible("snapshot_height", is_advance); |
1235 | floater->childSetVisible("keep_aspect_check", is_advance); | 1240 | floater->childSetVisible("keep_aspect_check", is_advance); |
1236 | floater->childSetVisible("ui_check", is_advance); | 1241 | floater->childSetVisible("ui_check", is_advance); |
1242 | floater->childSetVisible("high_res_check", is_advance && is_local); | ||
1237 | floater->childSetVisible("hud_check", is_advance); | 1243 | floater->childSetVisible("hud_check", is_advance); |
1238 | floater->childSetVisible("keep_open_check", is_advance); | 1244 | floater->childSetVisible("keep_open_check", is_advance); |
1239 | floater->childSetVisible("freeze_frame_check", is_advance); | 1245 | floater->childSetVisible("freeze_frame_check", is_advance); |
@@ -1246,7 +1252,7 @@ void LLFloaterSnapshot::Impl::updateControls(LLFloaterSnapshot* floater) | |||
1246 | layer_type = LLViewerWindow::SNAPSHOT_TYPE_COLOR; | 1252 | layer_type = LLViewerWindow::SNAPSHOT_TYPE_COLOR; |
1247 | floater->childSetValue("layer_types", "colors"); | 1253 | floater->childSetValue("layer_types", "colors"); |
1248 | if(is_advance) | 1254 | if(is_advance) |
1249 | { | 1255 | { |
1250 | setResolution(floater, "postcard_size_combo"); | 1256 | setResolution(floater, "postcard_size_combo"); |
1251 | } | 1257 | } |
1252 | break; | 1258 | break; |
@@ -1434,7 +1440,26 @@ void LLFloaterSnapshot::Impl::onClickUICheck(LLUICtrl *ctrl, void* data) | |||
1434 | 1440 | ||
1435 | LLFloaterSnapshot *view = (LLFloaterSnapshot *)data; | 1441 | LLFloaterSnapshot *view = (LLFloaterSnapshot *)data; |
1436 | if (view) | 1442 | if (view) |
1443 | { | ||
1444 | BOOL high_res_snapshot = gSavedSettings.getBOOL("HighResSnapshot"); | ||
1445 | if (high_res_snapshot) gSavedSettings.setBOOL("HighResSnapshot", FALSE); | ||
1446 | view->childSetEnabled("high_res_check", !check->get()); | ||
1447 | checkAutoSnapshot(getPreviewView(view), TRUE); | ||
1448 | } | ||
1449 | } | ||
1450 | |||
1451 | // static | ||
1452 | void LLFloaterSnapshot::Impl::onClickHighResCheck(LLUICtrl *ctrl, void* data) | ||
1453 | { | ||
1454 | LLCheckBoxCtrl *check = (LLCheckBoxCtrl *)ctrl; | ||
1455 | gSavedSettings.setBOOL( "HighResSnapshot", check->get() ); | ||
1456 | |||
1457 | LLFloaterSnapshot *view = (LLFloaterSnapshot *)data; | ||
1458 | if (view) | ||
1437 | { | 1459 | { |
1460 | BOOL ui_in_snapshot = gSavedSettings.getBOOL("RenderUIInSnapshot"); | ||
1461 | if (ui_in_snapshot) gSavedSettings.setBOOL("RenderUIInSnapshot", FALSE); | ||
1462 | view->childSetEnabled("ui_check", !check->get()); | ||
1438 | checkAutoSnapshot(getPreviewView(view), TRUE); | 1463 | checkAutoSnapshot(getPreviewView(view), TRUE); |
1439 | } | 1464 | } |
1440 | } | 1465 | } |
@@ -1912,6 +1937,9 @@ BOOL LLFloaterSnapshot::postBuild() | |||
1912 | 1937 | ||
1913 | childSetCommitCallback("ui_check", Impl::onClickUICheck, this); | 1938 | childSetCommitCallback("ui_check", Impl::onClickUICheck, this); |
1914 | 1939 | ||
1940 | childSetCommitCallback("high_res_check", Impl::onClickHighResCheck, this); | ||
1941 | childSetValue("high_res_check", gSavedSettings.getBOOL("HighResSnapshot")); | ||
1942 | |||
1915 | childSetCommitCallback("hud_check", Impl::onClickHUDCheck, this); | 1943 | childSetCommitCallback("hud_check", Impl::onClickHUDCheck, this); |
1916 | childSetValue("hud_check", gSavedSettings.getBOOL("RenderHUDInSnapshot")); | 1944 | childSetValue("hud_check", gSavedSettings.getBOOL("RenderHUDInSnapshot")); |
1917 | 1945 | ||
@@ -2001,8 +2029,23 @@ void LLFloaterSnapshot::draw() | |||
2001 | childSetEnabled("send_btn", FALSE); | 2029 | childSetEnabled("send_btn", FALSE); |
2002 | childSetEnabled("save_btn", FALSE); | 2030 | childSetEnabled("save_btn", FALSE); |
2003 | } | 2031 | } |
2004 | 2032 | ||
2005 | BOOL ui_in_snapshot = gSavedSettings.getBOOL("RenderUIInSnapshot"); | 2033 | BOOL ui_in_snapshot = gSavedSettings.getBOOL("RenderUIInSnapshot"); |
2034 | |||
2035 | if (previewp->getSnapshotType() != LLSnapshotLivePreview::SNAPSHOT_LOCAL) | ||
2036 | { | ||
2037 | childSetValue("high_res_check", FALSE); | ||
2038 | childSetEnabled("ui_check", TRUE); | ||
2039 | } | ||
2040 | else | ||
2041 | { | ||
2042 | if (ui_in_snapshot) | ||
2043 | { | ||
2044 | gSavedSettings.setBOOL("HighResSnapshot", FALSE); | ||
2045 | childSetEnabled("high_res_check", FALSE); | ||
2046 | } | ||
2047 | } | ||
2048 | |||
2006 | childSetValue("ui_check", ui_in_snapshot); | 2049 | childSetValue("ui_check", ui_in_snapshot); |
2007 | childSetToolTip("ui_check", std::string("If selected shows the UI in the snapshot")); | 2050 | childSetToolTip("ui_check", std::string("If selected shows the UI in the snapshot")); |
2008 | } | 2051 | } |
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index 1f3b14d..0ea92f1 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -788,12 +788,6 @@ void init_client_menu(LLMenuGL* menu) | |||
788 | menu->appendMenu(sub_menu); | 788 | menu->appendMenu(sub_menu); |
789 | 789 | ||
790 | menu->appendSeparator(); | 790 | menu->appendSeparator(); |
791 | |||
792 | menu->append(new LLMenuItemCheckGL( "High-res Snapshot", | ||
793 | &menu_toggle_control, | ||
794 | NULL, | ||
795 | &menu_check_control, | ||
796 | (void*)"HighResSnapshot")); | ||
797 | 791 | ||
798 | menu->append(new LLMenuItemCheckGL( "Quiet Snapshots to Disk", | 792 | menu->append(new LLMenuItemCheckGL( "Quiet Snapshots to Disk", |
799 | &menu_toggle_control, | 793 | &menu_toggle_control, |
@@ -801,12 +795,6 @@ void init_client_menu(LLMenuGL* menu) | |||
801 | &menu_check_control, | 795 | &menu_check_control, |
802 | (void*)"QuietSnapshotsToDisk")); | 796 | (void*)"QuietSnapshotsToDisk")); |
803 | 797 | ||
804 | menu->append(new LLMenuItemCheckGL( "Compress Snapshots to Disk", | ||
805 | &menu_toggle_control, | ||
806 | NULL, | ||
807 | &menu_check_control, | ||
808 | (void*)"CompressSnapshotsToDisk")); | ||
809 | |||
810 | menu->append(new LLMenuItemCheckGL("Show Mouselook Crosshairs", | 798 | menu->append(new LLMenuItemCheckGL("Show Mouselook Crosshairs", |
811 | &menu_toggle_control, | 799 | &menu_toggle_control, |
812 | NULL, | 800 | NULL, |
@@ -925,12 +913,6 @@ void init_client_menu(LLMenuGL* menu) | |||
925 | &menu_check_control, | 913 | &menu_check_control, |
926 | (void*)"LimitSelectDistance")); | 914 | (void*)"LimitSelectDistance")); |
927 | 915 | ||
928 | menu->append(new LLMenuItemCheckGL("Disable Camera Constraints", | ||
929 | &menu_toggle_control, | ||
930 | NULL, | ||
931 | &menu_check_control, | ||
932 | (void*)"DisableCameraConstraints")); | ||
933 | |||
934 | menu->append(new LLMenuItemCheckGL("Mouse Smoothing", | 916 | menu->append(new LLMenuItemCheckGL("Mouse Smoothing", |
935 | &menu_toggle_control, | 917 | &menu_toggle_control, |
936 | NULL, | 918 | NULL, |
@@ -1381,7 +1363,7 @@ void init_debug_avatar_menu(LLMenuGL* menu) | |||
1381 | menu->append(new LLMenuItemToggleGL( "Display Agent Target", &LLAgent::sDebugDisplayTarget)); | 1363 | menu->append(new LLMenuItemToggleGL( "Display Agent Target", &LLAgent::sDebugDisplayTarget)); |
1382 | menu->append(new LLMenuItemToggleGL( "Debug Rotation", &gDebugAvatarRotation)); | 1364 | menu->append(new LLMenuItemToggleGL( "Debug Rotation", &gDebugAvatarRotation)); |
1383 | menu->append(new LLMenuItemCallGL("Dump Attachments", handle_dump_attachments)); | 1365 | menu->append(new LLMenuItemCallGL("Dump Attachments", handle_dump_attachments)); |
1384 | menu->append(new LLMenuItemCallGL("Rebake Textures", handle_rebake_textures, NULL, NULL, 'R', MASK_ALT | MASK_CONTROL )); | 1366 | menu->append(new LLMenuItemCallGL("Refresh Appearance", handle_rebake_textures, NULL, NULL, 'R', MASK_ALT | MASK_CONTROL )); |
1385 | #ifndef LL_RELEASE_FOR_DOWNLOAD | 1367 | #ifndef LL_RELEASE_FOR_DOWNLOAD |
1386 | menu->append(new LLMenuItemCallGL("Debug Avatar Textures", handle_debug_avatar_textures, NULL, NULL, 'A', MASK_SHIFT|MASK_CONTROL|MASK_ALT)); | 1368 | menu->append(new LLMenuItemCallGL("Debug Avatar Textures", handle_debug_avatar_textures, NULL, NULL, 'A', MASK_SHIFT|MASK_CONTROL|MASK_ALT)); |
1387 | menu->append(new LLMenuItemCallGL("Dump Local Textures", handle_dump_avatar_local_textures, NULL, NULL, 'M', MASK_SHIFT|MASK_ALT )); | 1369 | menu->append(new LLMenuItemCallGL("Dump Local Textures", handle_dump_avatar_local_textures, NULL, NULL, 'M', MASK_SHIFT|MASK_ALT )); |
@@ -6268,11 +6250,6 @@ BOOL menu_ui_enabled(void *user_data) | |||
6268 | void menu_toggle_control( void* user_data ) | 6250 | void menu_toggle_control( void* user_data ) |
6269 | { | 6251 | { |
6270 | BOOL checked = gSavedSettings.getBOOL( static_cast<char*>(user_data) ); | 6252 | BOOL checked = gSavedSettings.getBOOL( static_cast<char*>(user_data) ); |
6271 | if (std::string(static_cast<char*>(user_data)) == "HighResSnapshot" && !checked) | ||
6272 | { | ||
6273 | // High Res Snapshot active, must uncheck RenderUIInSnapshot | ||
6274 | gSavedSettings.setBOOL( "RenderUIInSnapshot", FALSE ); | ||
6275 | } | ||
6276 | gSavedSettings.setBOOL( static_cast<char*>(user_data), !checked ); | 6253 | gSavedSettings.setBOOL( static_cast<char*>(user_data), !checked ); |
6277 | } | 6254 | } |
6278 | 6255 | ||
@@ -6284,11 +6261,6 @@ class LLToggleControl : public view_listener_t | |||
6284 | { | 6261 | { |
6285 | std::string control_name = userdata.asString(); | 6262 | std::string control_name = userdata.asString(); |
6286 | BOOL checked = gSavedSettings.getBOOL( control_name ); | 6263 | BOOL checked = gSavedSettings.getBOOL( control_name ); |
6287 | if (control_name == "HighResSnapshot" && !checked) | ||
6288 | { | ||
6289 | // High Res Snapshot active, must uncheck RenderUIInSnapshot | ||
6290 | gSavedSettings.setBOOL( "RenderUIInSnapshot", FALSE ); | ||
6291 | } | ||
6292 | gSavedSettings.setBOOL( control_name, !checked ); | 6264 | gSavedSettings.setBOOL( control_name, !checked ); |
6293 | return true; | 6265 | return true; |
6294 | } | 6266 | } |
@@ -9810,6 +9782,7 @@ void initialize_menus() | |||
9810 | addMenu(new LLEditEnableDuplicate(), "Edit.EnableDuplicate"); | 9782 | addMenu(new LLEditEnableDuplicate(), "Edit.EnableDuplicate"); |
9811 | addMenu(new LLEditEnableTakeOff(), "Edit.EnableTakeOff"); | 9783 | addMenu(new LLEditEnableTakeOff(), "Edit.EnableTakeOff"); |
9812 | addMenu(new LLEditEnableCustomizeAvatar(), "Edit.EnableCustomizeAvatar"); | 9784 | addMenu(new LLEditEnableCustomizeAvatar(), "Edit.EnableCustomizeAvatar"); |
9785 | addMenu(new LLAdvancedRebakeTextures(), "Advanced.RebakeTextures"); | ||
9813 | 9786 | ||
9814 | // View menu | 9787 | // View menu |
9815 | addMenu(new LLViewMouselook(), "View.Mouselook"); | 9788 | addMenu(new LLViewMouselook(), "View.Mouselook"); |
@@ -10120,7 +10093,6 @@ void initialize_menus() | |||
10120 | addMenu(new LLAdvancedToggleDebugAvatarRotation(), "Advanced.ToggleDebugAvatarRotation"); | 10093 | addMenu(new LLAdvancedToggleDebugAvatarRotation(), "Advanced.ToggleDebugAvatarRotation"); |
10121 | addMenu(new LLAdvancedCheckDebugAvatarRotation(), "Advanced.CheckDebugAvatarRotation"); | 10094 | addMenu(new LLAdvancedCheckDebugAvatarRotation(), "Advanced.CheckDebugAvatarRotation"); |
10122 | addMenu(new LLAdvancedDumpAttachments(), "Advanced.DumpAttachments"); | 10095 | addMenu(new LLAdvancedDumpAttachments(), "Advanced.DumpAttachments"); |
10123 | addMenu(new LLAdvancedRebakeTextures(), "Advanced.RebakeTextures"); | ||
10124 | addMenu(new LLAdvancedDebugAvatarTextures(), "Advanced.DebugAvatarTextures"); | 10096 | addMenu(new LLAdvancedDebugAvatarTextures(), "Advanced.DebugAvatarTextures"); |
10125 | addMenu(new LLAdvancedDumpAvatarLocalTextures(), "Advanced.DumpAvatarLocalTextures"); | 10097 | addMenu(new LLAdvancedDumpAvatarLocalTextures(), "Advanced.DumpAvatarLocalTextures"); |
10126 | 10098 | ||
diff --git a/linden/indra/newview/llviewerwindow.cpp b/linden/indra/newview/llviewerwindow.cpp index 2e77316..854d757 100644 --- a/linden/indra/newview/llviewerwindow.cpp +++ b/linden/indra/newview/llviewerwindow.cpp | |||
@@ -3812,10 +3812,6 @@ BOOL LLViewerWindow::saveImageNumbered(LLImageFormatted *image) | |||
3812 | } | 3812 | } |
3813 | 3813 | ||
3814 | std::string extension("." + image->getExtension()); | 3814 | std::string extension("." + image->getExtension()); |
3815 | if (extension.empty()) | ||
3816 | { | ||
3817 | extension = (gSavedSettings.getBOOL("CompressSnapshotsToDisk")) ? ".j2c" : ".bmp"; | ||
3818 | } | ||
3819 | 3815 | ||
3820 | LLFilePicker::ESaveFilter pick_type; | 3816 | LLFilePicker::ESaveFilter pick_type; |
3821 | if (extension == ".j2c") | 3817 | if (extension == ".j2c") |
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_snapshot.xml b/linden/indra/newview/skins/default/xui/en-us/floater_snapshot.xml index 0c60090..c2eb3c2 100644 --- a/linden/indra/newview/skins/default/xui/en-us/floater_snapshot.xml +++ b/linden/indra/newview/skins/default/xui/en-us/floater_snapshot.xml | |||
@@ -139,6 +139,8 @@ | |||
139 | <slider bottom_delta="-20" decimal_digits="0" follows="left|top" height="15" | 139 | <slider bottom_delta="-20" decimal_digits="0" follows="left|top" height="15" |
140 | increment="1" initial_val="75" label="Image Quality" left="10" | 140 | increment="1" initial_val="75" label="Image Quality" left="10" |
141 | max_val="100" min_val="0" name="image_quality_slider" width="210" /> | 141 | max_val="100" min_val="0" name="image_quality_slider" width="210" /> |
142 | <check_box bottom_delta="0" follows="left|top" label="High resolution snapshot" | ||
143 | left="10" name="high_res_check" /> | ||
142 | <text bottom_delta="-28" follows="left|top" height="20" left="10" | 144 | <text bottom_delta="-28" follows="left|top" height="20" left="10" |
143 | name="layer_type_label" width="50"> | 145 | name="layer_type_label" width="50"> |
144 | Capture: | 146 | Capture: |
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 303a9c1..dee3cb1 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 | |||
@@ -204,6 +204,12 @@ | |||
204 | userdata="all" /> | 204 | userdata="all" /> |
205 | </menu_item_call> | 205 | </menu_item_call> |
206 | </menu> | 206 | </menu> |
207 | <menu_item_call name="Refresh Appearance" | ||
208 | label="Refresh Appearance" | ||
209 | shortcut="control|alt|R"> | ||
210 | <on_click function="Advanced.RebakeTextures" | ||
211 | userdata="" /> | ||
212 | </menu_item_call> | ||
207 | <menu_item_separator /> | 213 | <menu_item_separator /> |
208 | <menu_item_call name="Gestures..." label="Gestures..." | 214 | <menu_item_call name="Gestures..." label="Gestures..." |
209 | shortcut="control|G"> | 215 | shortcut="control|G"> |
@@ -931,24 +937,13 @@ | |||
931 | 937 | ||
932 | <menu_item_separator /> | 938 | <menu_item_separator /> |
933 | 939 | ||
934 | <menu_item_check name="High-res Snapshot" | 940 | |
935 | label="High-res Snapshot"> | ||
936 | <on_click function="ToggleControl" | ||
937 | userdata="HighResSnapshot" /> | ||
938 | <on_check control="HighResSnapshot" /> | ||
939 | </menu_item_check> | ||
940 | <menu_item_check name="Quiet Snapshots to Disk" | 941 | <menu_item_check name="Quiet Snapshots to Disk" |
941 | label="Quiet Snapshots to Disk"> | 942 | label="Quiet Snapshots to Disk"> |
942 | <on_click function="ToggleControl" | 943 | <on_click function="ToggleControl" |
943 | userdata="QuietSnapshotsToDisk" /> | 944 | userdata="QuietSnapshotsToDisk" /> |
944 | <on_check control="QuietSnapshotsToDisk" /> | 945 | <on_check control="QuietSnapshotsToDisk" /> |
945 | </menu_item_check> | 946 | </menu_item_check> |
946 | <menu_item_check name="Compress Snapshots to Disk" | ||
947 | label="Compress Snapshots to Disk"> | ||
948 | <on_click function="ToggleControl" | ||
949 | userdata="CompressSnapshotsToDisk" /> | ||
950 | <on_check control="CompressSnapshotsToDisk" /> | ||
951 | </menu_item_check> | ||
952 | <menu_item_check name="Show Mouselook Crosshairs" | 947 | <menu_item_check name="Show Mouselook Crosshairs" |
953 | label="Show Mouselook Crosshairs"> | 948 | label="Show Mouselook Crosshairs"> |
954 | <on_click function="ToggleControl" | 949 | <on_click function="ToggleControl" |
@@ -1618,7 +1613,8 @@ | |||
1618 | userdata="" /> | 1613 | userdata="" /> |
1619 | </menu_item_call> | 1614 | </menu_item_call> |
1620 | <menu_item_check name="Show XUI Names" | 1615 | <menu_item_check name="Show XUI Names" |
1621 | label="Show XUI Names"> | 1616 | label="Show XUI Names" |
1617 | shortcut="control|shift|x"> | ||
1622 | <on_click function="Advanced.ToggleXUINames" | 1618 | <on_click function="Advanced.ToggleXUINames" |
1623 | userdata="" /> | 1619 | userdata="" /> |
1624 | <on_check function="Advanced.CheckXUINames" | 1620 | <on_check function="Advanced.CheckXUINames" |
@@ -1834,12 +1830,6 @@ | |||
1834 | <on_click function="Advanced.DumpAttachments" | 1830 | <on_click function="Advanced.DumpAttachments" |
1835 | userdata="" /> | 1831 | userdata="" /> |
1836 | </menu_item_call> | 1832 | </menu_item_call> |
1837 | <menu_item_call name="Rebake Textures" | ||
1838 | label="Rebake Textures" | ||
1839 | shortcut="control|alt|R"> | ||
1840 | <on_click function="Advanced.RebakeTextures" | ||
1841 | userdata="" /> | ||
1842 | </menu_item_call> | ||
1843 | </menu> | 1833 | </menu> |
1844 | 1834 | ||
1845 | 1835 | ||
@@ -1962,12 +1952,6 @@ | |||
1962 | userdata="LimitSelectDistance" /> | 1952 | userdata="LimitSelectDistance" /> |
1963 | <on_check control="LimitSelectDistance" /> | 1953 | <on_check control="LimitSelectDistance" /> |
1964 | </menu_item_check> | 1954 | </menu_item_check> |
1965 | <menu_item_check name="Disable Camera Constraints" | ||
1966 | label="Disable Camera Constraints"> | ||
1967 | <on_click function="ToggleControl" | ||
1968 | userdata="DisableCameraConstraints" /> | ||
1969 | <on_check control="DisableCameraConstraints" /> | ||
1970 | </menu_item_check> | ||
1971 | <menu_item_check name="Mouse Smoothing" | 1955 | <menu_item_check name="Mouse Smoothing" |
1972 | label="Mouse Smoothing"> | 1956 | label="Mouse Smoothing"> |
1973 | <on_click function="ToggleControl" | 1957 | <on_click function="ToggleControl" |
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml index 23e357f..1867323 100644 --- a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml +++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_input.xml | |||
@@ -79,18 +79,23 @@ | |||
79 | label="Automatic Appearance Camera Movement" left="148" mouse_opaque="true" | 79 | label="Automatic Appearance Camera Movement" left="148" mouse_opaque="true" |
80 | name="appearance camera movement" radio_style="false" | 80 | name="appearance camera movement" radio_style="false" |
81 | tool_tip="Use automatic camera positioning while in edit mode" width="242" /> | 81 | tool_tip="Use automatic camera positioning while in edit mode" width="242" /> |
82 | <check_box bottom_delta="-18" control_name="DisableCameraConstraints" enabled="true" | ||
83 | follows="left|top" font="SansSerifSmall" height="16" initial_value="false" | ||
84 | label="Disable camera constraints" left="148" mouse_opaque="true" | ||
85 | name="Disable camera constraints" radio_style="false" | ||
86 | tool_tip="Disables camera limits such as distance and terrain" width="242" /> | ||
82 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" | 87 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" |
83 | bottom="-228" drop_shadow_visible="true" enabled="true" follows="left|top" | 88 | bottom_delta="-32" drop_shadow_visible="true" enabled="true" follows="left|top" |
84 | font="SansSerifSmall" h_pad="0" halign="left" height="12" left="10" | 89 | font="SansSerifSmall" h_pad="0" halign="left" height="12" left="10" |
85 | mouse_opaque="true" name="text2" v_pad="0" width="128"> | 90 | mouse_opaque="true" name="text2" v_pad="0" width="128"> |
86 | Avatar Display Options: | 91 | Avatar Display Options: |
87 | </text> | 92 | </text> |
88 | <check_box bottom="-232" control_name="FirstPersonAvatarVisible" enabled="true" | 93 | <check_box bottom_delta="-4" control_name="FirstPersonAvatarVisible" enabled="true" |
89 | follows="left|top" font="SansSerifSmall" height="16" initial_value="false" | 94 | follows="left|top" font="SansSerifSmall" height="16" initial_value="false" |
90 | label="Show Avatar in Mouselook" left="148" mouse_opaque="true" name="avfp" | 95 | label="Show Avatar in Mouselook" left="148" mouse_opaque="true" name="avfp" |
91 | radio_style="false" width="256" /> | 96 | radio_style="false" width="256" /> |
92 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" | 97 | <text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false" |
93 | bottom="-264" drop_shadow_visible="true" enabled="true" follows="left|top" | 98 | bottom_delta="-32" drop_shadow_visible="true" enabled="true" follows="left|top" |
94 | font="SansSerifSmall" h_pad="0" halign="left" height="12" left="10" | 99 | font="SansSerifSmall" h_pad="0" halign="left" height="12" left="10" |
95 | mouse_opaque="true" name="text5" v_pad="0" width="128"> | 100 | mouse_opaque="true" name="text5" v_pad="0" width="128"> |
96 | Joystick Options: | 101 | Joystick Options: |