aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-19 21:43:50 -0500
committerJacek Antonelli2008-09-19 21:43:50 -0500
commit25069ffd255db248253472ed95e45ee3b9eae753 (patch)
tree5839a816fce86e133fd8e81767d3c404282adfc3
parentVWR-2947: Create event callbacks for Advanced menu functions. (diff)
downloadmeta-impy-25069ffd255db248253472ed95e45ee3b9eae753.zip
meta-impy-25069ffd255db248253472ed95e45ee3b9eae753.tar.gz
meta-impy-25069ffd255db248253472ed95e45ee3b9eae753.tar.bz2
meta-impy-25069ffd255db248253472ed95e45ee3b9eae753.tar.xz
VWR-2948: Create XUI-based Advanced menu.
Part of VWR-2896: Convert "Advanced" menu to XUI.
-rw-r--r--ChangeLog.txt4
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml947
2 files changed, 951 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index be19959..4efb484 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -4,6 +4,10 @@
4 VWR-2947: Create event callbacks for Advanced menu functions. 4 VWR-2947: Create event callbacks for Advanced menu functions.
5 Part of VWR-2896: Convert "Advanced" menu to XUI. 5 Part of VWR-2896: Convert "Advanced" menu to XUI.
6 6
7 * linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml:
8 VWR-2948: Create XUI-based Advanced menu.
9 Part of VWR-2896: Convert "Advanced" menu to XUI.
10
72008-09-19 Jacek Antonelli <jacek.antonelli@gmail.com> 112008-09-19 Jacek Antonelli <jacek.antonelli@gmail.com>
8 12
9 * linden/indra/SConstruct: 13 * linden/indra/SConstruct:
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 054f867..7de36a6 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
@@ -853,4 +853,951 @@
853 <on_click function="ShowFloater" userdata="about" /> 853 <on_click function="ShowFloater" userdata="about" />
854 </menu_item_call> 854 </menu_item_call>
855 </menu> 855 </menu>
856
857
858 <!-- ADVANCED -->
859
860 <menu name="Advanced" drop_shadow="true" opaque="true" tear_off="true">
861
862
863
864 <!-- CONSOLES -->
865
866 <menu name="Consoles" drop_shadow="true" opaque="true" tear_off="true">
867 <menu_item_check name="Frame Console" label="Frame Console"
868 shortcut="control|shift|2">
869 <on_click function="Advanced.ToggleConsole" userdata="frame" />
870 <on_check function="Advanced.CheckConsole" userdata="frame" />
871 </menu_item_check>
872 <menu_item_check name="Texture Console" label="Texture Console"
873 shortcut="control|shift|3">
874 <on_click function="Advanced.ToggleConsole" userdata="texture" />
875 <on_check function="Advanced.CheckConsole" userdata="texture" />
876 </menu_item_check>
877 <menu_item_check name="Debug Console" label="Debug Console"
878 shortcut="control|shift|4">
879 <on_click function="Advanced.ToggleConsole" userdata="debug" />
880 <on_check function="Advanced.CheckConsole" userdata="debug" />
881 </menu_item_check>
882 <menu_item_check name="Fast Timers" label="Fast Timers"
883 shortcut="control|shift|9">
884 <on_click function="Advanced.ToggleConsole" userdata="fast timers" />
885 <on_check function="Advanced.CheckConsole" userdata="fast timers" />
886 </menu_item_check>
887 <!-- Requires compiled-in support, I think?
888 <menu_item_check name="Memory" label="Memory"
889 shortcut="control|shift|0">
890 <on_click function="Advanced.ToggleConsole" userdata="memory" />
891 <on_check function="Advanced.CheckConsole" userdata="memory" />
892 </menu_item_check>
893 -->
894 <menu_item_separator />
895 <menu_item_call name="Region Info to Debug Console"
896 label="Region Info to Debug Console">
897 <on_click function="Advanced.DumpInfoToConsole" userdata="region" />
898 </menu_item_call>
899 <menu_item_call name="Group Info to Debug Console"
900 label="Group Info to Debug Console">
901 <on_click function="Advanced.DumpInfoToConsole" userdata="group" />
902 </menu_item_call>
903 <menu_item_call name="Capabilities Info to Debug Console"
904 label="Capabilities Info to Debug Console">
905 <on_click function="Advanced.DumpInfoToConsole"
906 userdata="capabilities" />
907 </menu_item_call>
908 </menu>
909
910
911 <menu_item_call name="Reload personal setting overrides"
912 label="Reload personal settings overrides"
913 shortcut="control|shift|F2">
914 <on_click function="Advanced.ReloadSettingsOverrides" userdata="" />
915 </menu_item_call>
916
917
918
919 <!-- HUD INFO -->
920
921 <menu name="HUD Info" drop_shadow="true" opaque="true" tear_off="true">
922 <menu_item_check name="Velocity" label="Velocity">
923 <on_click function="Advanced.ToggleHUDInfo" userdata="velocity" />
924 <on_check function="Advanced.CheckHUDInfo" userdata="velocity" />
925 </menu_item_check>
926 <menu_item_check name="Camera" label="Camera">
927 <on_click function="Advanced.ToggleHUDInfo" userdata="camera" />
928 <on_check function="Advanced.CheckHUDInfo" userdata="camera" />
929 </menu_item_check>
930 <menu_item_check name="Wind" label="Wind">
931 <on_click function="Advanced.ToggleHUDInfo" userdata="wind" />
932 <on_check function="Advanced.CheckHUDInfo" userdata="wind" />
933 </menu_item_check>
934 <menu_item_check name="FOV" label="FOV">
935 <on_click function="Advanced.ToggleHUDInfo" userdata="fov" />
936 <on_check function="Advanced.CheckHUDInfo" userdata="fov" />
937 </menu_item_check>
938 </menu>
939
940
941 <menu_item_separator />
942
943 <menu_item_check name="High-res Snapshot" label="High-res Snapshot">
944 <on_click function="ToggleControl" userdata="HighResSnapshot" />
945 <on_check control="HighResSnapshot" />
946 </menu_item_check>
947 <menu_item_check name="Quiet Snapshots to Disk"
948 label="Quiet Snapshots to Disk">
949 <on_click function="ToggleControl" userdata="QuietSnapshotsToDisk" />
950 <on_check control="QuietSnapshotsToDisk" />
951 </menu_item_check>
952 <menu_item_check name="Compress Snapshots to Disk"
953 label="Compress Snapshots to Disk">
954 <on_click function="ToggleControl" userdata="CompressSnapshotsToDisk" />
955 <on_check control="CompressSnapshotsToDisk" />
956 </menu_item_check>
957 <menu_item_check name="Show Mouselook Crosshairs"
958 label="Show Mouselook Crosshairs">
959 <on_click function="ToggleControl" userdata="ShowCrosshairs" />
960 <on_check control="ShowCrosshairs" />
961 </menu_item_check>
962 <menu_item_check name="Debug Permissions" label="Debug Permissions">
963 <on_click function="ToggleControl" userdata="DebugPermissions" />
964 <on_check control="DebugPermissions" />
965 </menu_item_check>
966 <menu_item_call name="Clear Group Cache" label="Clear Group Cache">
967 <on_click function="Advanced.ClearGroupCache" userdata="" />
968 </menu_item_call>
969 <menu_item_separator />
970
971
972
973 <!-- RENDERING -->
974
975 <menu name="Rendering" drop_shadow="true" opaque="true" tear_off="true">
976
977 <!-- TYPES -->
978 <menu name="Types" drop_shadow="true" opaque="true" tear_off="true">
979 <menu_item_check name="Simple" label="Simple"
980 shortcut="control|alt|shift|1">
981 <on_click function="Advanced.ToggleRenderType" userdata="simple" />
982 <on_check function="Advanced.CheckRenderType" userdata="simple" />
983 </menu_item_check>
984 <menu_item_check name="Alpha" label="Alpha"
985 shortcut="control|alt|shift|2">
986 <on_click function="Advanced.ToggleRenderType" userdata="alpha" />
987 <on_check function="Advanced.CheckRenderType" userdata="alpha" />
988 </menu_item_check>
989 <menu_item_check name="Tree" label="Tree"
990 shortcut="control|alt|shift|3">
991 <on_click function="Advanced.ToggleRenderType" userdata="tree" />
992 <on_check function="Advanced.CheckRenderType" userdata="tree" />
993 </menu_item_check>
994 <menu_item_check name="Character" label="Character"
995 shortcut="control|alt|shift|4">
996 <on_click function="Advanced.ToggleRenderType" userdata="avatar" />
997 <on_check function="Advanced.CheckRenderType" userdata="avatar" />
998 </menu_item_check>
999 <menu_item_check name="SurfacePatch" label="SurfacePatch"
1000 shortcut="control|alt|shift|5">
1001 <on_click function="Advanced.ToggleRenderType" userdata="terrain" />
1002 <on_check function="Advanced.CheckRenderType" userdata="terrain" />
1003 </menu_item_check>
1004 <menu_item_check name="Sky" label="Sky"
1005 shortcut="control|alt|shift|6">
1006 <on_click function="Advanced.ToggleRenderType" userdata="sky" />
1007 <on_check function="Advanced.CheckRenderType" userdata="sky" />
1008 </menu_item_check>
1009 <menu_item_check name="Water" label="Water"
1010 shortcut="control|alt|shift|7">
1011 <on_click function="Advanced.ToggleRenderType" userdata="water" />
1012 <on_check function="Advanced.CheckRenderType" userdata="water" />
1013 </menu_item_check>
1014 <menu_item_check name="Ground" label="Ground"
1015 shortcut="control|alt|shift|8">
1016 <on_click function="Advanced.ToggleRenderType" userdata="ground" />
1017 <on_check function="Advanced.CheckRenderType" userdata="ground" />
1018 </menu_item_check>
1019 <menu_item_check name="Volume" label="Volume"
1020 shortcut="control|alt|shift|9">
1021 <on_click function="Advanced.ToggleRenderType" userdata="volume" />
1022 <on_check function="Advanced.CheckRenderType" userdata="volume" />
1023 </menu_item_check>
1024 <menu_item_check name="Grass" label="Grass"
1025 shortcut="control|alt|shift|0">
1026 <on_click function="Advanced.ToggleRenderType" userdata="grass" />
1027 <on_check function="Advanced.CheckRenderType" userdata="grass" />
1028 </menu_item_check>
1029 <menu_item_check name="Clouds" label="Clouds"
1030 shortcut="control|alt|shift|-">
1031 <on_click function="Advanced.ToggleRenderType" userdata="clouds" />
1032 <on_check function="Advanced.CheckRenderType" userdata="clouds" />
1033 </menu_item_check>
1034 <menu_item_check name="Particles" label="Particles"
1035 shortcut="control|alt|shift|=">
1036 <on_click function="Advanced.ToggleRenderType"
1037 userdata="particles" />
1038 <on_check function="Advanced.CheckRenderType"
1039 userdata="particles" />
1040 </menu_item_check>
1041 <menu_item_check name="Bump" label="Bump"
1042 shortcut="control|alt|shift|\">
1043 <on_click function="Advanced.ToggleRenderType" userdata="bump" />
1044 <on_check function="Advanced.CheckRenderType" userdata="bump" />
1045 </menu_item_check>
1046 </menu>
1047
1048
1049 <!-- FEATURES -->
1050 <menu drop_shadow="true" name="Features" opaque="true" tear_off="true">
1051 <menu_item_check name="UI" label="UI" shortcut="control|alt|F1">
1052 <on_click function="Advanced.ToggleFeature" userdata="ui" />
1053 <on_check function="Advanced.CheckFeature" userdata="ui" />
1054 </menu_item_check>
1055 <menu_item_check name="Selected" label="Selected"
1056 shortcut="control|alt|F2">
1057 <on_click function="Advanced.ToggleFeature" userdata="selected" />
1058 <on_check function="Advanced.CheckFeature" userdata="selected" />
1059 </menu_item_check>
1060 <menu_item_check name="Highlighted" label="Highlighted"
1061 shortcut="control|alt|F3">
1062 <on_click function="Advanced.ToggleFeature" userdata="highlighted" />
1063 <on_check function="Advanced.CheckFeature" userdata="highlighted" />
1064 </menu_item_check>
1065 <menu_item_check name="Dynamic Textures" label="Dynamic Textures"
1066 shortcut="control|alt|F4">
1067 <on_click function="Advanced.ToggleFeature"
1068 userdata="dynamic textures" />
1069 <on_check function="Advanced.CheckFeature"
1070 userdata="dynamic textures" />
1071 </menu_item_check>
1072 <menu_item_check name="Foot Shadows" label="Foot Shadows"
1073 shortcut="control|alt|F5">
1074 <on_click function="Advanced.ToggleFeature"
1075 userdata="foot shadows" />
1076 <on_check function="Advanced.CheckFeature"
1077 userdata="foot shadows" />
1078 </menu_item_check>
1079 <menu_item_check name="Fog" label="Fog" shortcut="control|alt|F6">
1080 <on_click function="Advanced.ToggleFeature" userdata="fog" />
1081 <on_check function="Advanced.CheckFeature" userdata="fog" />
1082 </menu_item_check>
1083 <menu_item_check name="Palletized Textures"
1084 label="Palletized Textures"
1085 shortcut="control|alt|F7">
1086 <on_click function="Advanced.ToggleFeature" userdata="palette" />
1087 <on_check function="Advanced.CheckFeature" userdata="palette" />
1088 </menu_item_check>
1089 <menu_item_check name="Test FRInfo" label="Test FRInfo"
1090 shortcut="control|alt|F8">
1091 <on_click function="Advanced.ToggleFeature" userdata="fr info" />
1092 <on_check function="Advanced.CheckFeature" userdata="fr info" />
1093 </menu_item_check>
1094 <menu_item_check name="Flexible Objects" label="Flexible Objects"
1095 shortcut="control|alt|F9">
1096 <on_click function="Advanced.ToggleFeature" userdata="flexible" />
1097 <on_check function="Advanced.CheckFeature" userdata="flexible" />
1098 </menu_item_check>
1099 </menu>
1100
1101
1102 <!-- INFO DISPLAYS -->
1103 <menu drop_shadow="true" name="Info Displays"
1104 opaque="true" tear_off="true">
1105 <menu_item_check name="Verify" label="Verify">
1106 <on_click function="Advanced.ToggleInfoDisplay" userdata="verify" />
1107 <on_check function="Advanced.CheckInfoDisplay" userdata="verify" />
1108 </menu_item_check>
1109 <menu_item_check name="BBoxes" label="BBoxes">
1110 <on_click function="Advanced.ToggleInfoDisplay" userdata="bboxes" />
1111 <on_check function="Advanced.CheckInfoDisplay" userdata="bboxes" />
1112 </menu_item_check>
1113 <menu_item_check name="Points" label="Points">
1114 <on_click function="Advanced.ToggleInfoDisplay" userdata="points" />
1115 <on_check function="Advanced.CheckInfoDisplay" userdata="points" />
1116 </menu_item_check>
1117 <menu_item_check name="Octree" label="Octree">
1118 <on_click function="Advanced.ToggleInfoDisplay" userdata="octree" />
1119 <on_check function="Advanced.CheckInfoDisplay" userdata="octree" />
1120 </menu_item_check>
1121 <menu_item_check name="Occlusion" label="Occlusion">
1122 <on_click function="Advanced.ToggleInfoDisplay"
1123 userdata="occlusion" />
1124 <on_check function="Advanced.CheckInfoDisplay"
1125 userdata="occlusion" />
1126 </menu_item_check>
1127 <menu_item_check name="Render Batches" label="Render Batches">
1128 <on_click function="Advanced.ToggleInfoDisplay"
1129 userdata="render batches" />
1130 <on_check function="Advanced.CheckInfoDisplay"
1131 userdata="render batches" />
1132 </menu_item_check>
1133 <menu_item_check name="Animated Textures" label="Animated Textures">
1134 <on_click function="Advanced.ToggleInfoDisplay"
1135 userdata="texture anim" />
1136 <on_check function="Advanced.CheckInfoDisplay"
1137 userdata="texture anim" />
1138 </menu_item_check>
1139 <menu_item_check name="Texture Priority" label="Texture Priority">
1140 <on_click function="Advanced.ToggleInfoDisplay"
1141 userdata="texture priority" />
1142 <on_check function="Advanced.CheckInfoDisplay"
1143 userdata="texture priority" />
1144 </menu_item_check>
1145 <menu_item_check name="Avatar Rendering Cost"
1146 label="Avatar Rendering Cost">
1147 <on_click function="Advanced.ToggleInfoDisplay"
1148 userdata="shame" />
1149 <on_check function="Advanced.CheckInfoDisplay"
1150 userdata="shame" />
1151 </menu_item_check>
1152 <menu_item_check name="Texture Area (sqrt(A))"
1153 label="Texture Area (sqrt(A))">
1154 <on_click function="Advanced.ToggleInfoDisplay"
1155 userdata="texture area" />
1156 <on_check function="Advanced.CheckInfoDisplay"
1157 userdata="texture area" />
1158 </menu_item_check>
1159 <menu_item_check name="Face Area (sqrt(A))"
1160 label="Face Area (sqrt(A))">
1161 <on_click function="Advanced.ToggleInfoDisplay"
1162 userdata="face area" />
1163 <on_check function="Advanced.CheckInfoDisplay"
1164 userdata="face area" />
1165 </menu_item_check>
1166 <menu_item_check name="Pick Render" label="Pick Render">
1167 <on_click function="Advanced.ToggleInfoDisplay"
1168 userdata="picking" />
1169 <on_check function="Advanced.CheckInfoDisplay"
1170 userdata="picking" />
1171 </menu_item_check>
1172 <menu_item_check name="Lights" label="Lights">
1173 <on_click function="Advanced.ToggleInfoDisplay"
1174 userdata="lights" />
1175 <on_check function="Advanced.CheckInfoDisplay"
1176 userdata="lights" />
1177 </menu_item_check>
1178 <menu_item_check name="Particles" label="Particles">
1179 <on_click function="Advanced.ToggleInfoDisplay"
1180 userdata="particles" />
1181 <on_check function="Advanced.CheckInfoDisplay"
1182 userdata="particles" />
1183 </menu_item_check>
1184 <menu_item_check name="Composition" label="Composition">
1185 <on_click function="Advanced.ToggleInfoDisplay"
1186 userdata="composition" />
1187 <on_check function="Advanced.CheckInfoDisplay"
1188 userdata="composition" />
1189 </menu_item_check>
1190 <menu_item_check name="Glow" label="Glow">
1191 <on_click function="Advanced.ToggleInfoDisplay"
1192 userdata="glow" />
1193 <on_check function="Advanced.CheckInfoDisplay"
1194 userdata="glow" />
1195 </menu_item_check>
1196 <menu_item_check name="Show Depth Buffer" label="Show Depth Buffer">
1197 <on_click function="ToggleControl" userdata="ShowDepthBuffer" />
1198 <on_check control="ShowDepthBuffer" />
1199 </menu_item_check>
1200 <menu_item_check name="Show Select Buffer" label="Show Select Buffer">
1201 <on_click function="Advanced.ToggleSelectBuffer" userdata="" />
1202 <on_check function="Advanced.CheckSelectBuffer" userdata="" />
1203 </menu_item_check>
1204 <menu_item_check name="Vectorize Perf Test"
1205 label="Vectorize Perf Test">
1206 <on_click function="ToggleControl" userdata="VectorizePerfTest" />
1207 <on_check control="VectorizePerfTest" />
1208 </menu_item_check>
1209 </menu>
1210
1211
1212 <!-- RENDER TESTS -->
1213 <menu drop_shadow="true" name="Render Tests" opaque="true"
1214 tear_off="true">
1215 <menu_item_check name="Camera Offset" label="Camera Offset">
1216 <on_click function="ToggleControl" userdata="CameraOffset" />
1217 <on_check control="CameraOffset" />
1218 </menu_item_check>
1219 <menu_item_check name="Randomize Framerate"
1220 label="Randomize Framerate">
1221 <on_click function="Advanced.ToggleRandomizeFramerate"
1222 userdata="" />
1223 <on_check function="Advanced.CheckRandomizeFramerate"
1224 userdata="" />
1225 </menu_item_check>
1226 <menu_item_check name="Periodic Slow Frame"
1227 label="Periodic Slow Frame">
1228 <on_click function="Advanced.TogglePeriodicSlowFrame"
1229 userdata="" />
1230 <on_check function="Advanced.CheckPeriodicSlowFrame"
1231 userdata="" />
1232 </menu_item_check>
1233 <menu_item_check name="Frame Test" label="Frame Test">
1234 <on_click function="Advanced.ToggleFrameTest" userdata="" />
1235 <on_check function="Advanced.CheckFrameTest" userdata="" />
1236 </menu_item_check>
1237 </menu>
1238
1239
1240 <menu_item_separator />
1241
1242 <menu_item_check name="Axes" label="Axes">
1243 <on_click function="ToggleControl" userdata="ShowAxes" />
1244 <on_check control="ShowAxes" />
1245 </menu_item_check>
1246
1247 <menu_item_separator />
1248
1249 <menu_item_check name="Hide Selected" label="Hide Selected">
1250 <on_click function="Advanced.ToggleHideSelectedObjects"
1251 userdata="" />
1252 <on_check function="Advanced.CheckHideSelectedObjects"
1253 userdata="" />
1254 </menu_item_check>
1255
1256 <menu_item_separator />
1257
1258 <menu_item_check name="Tangent Basis" label="Tangent Basis">
1259 <on_click function="ToggleControl" userdata="ShowTangentBasis" />
1260 <on_check control="ShowTangentBasis" />
1261 </menu_item_check>
1262 <menu_item_call name="Selected Texture Info"
1263 label="Selected Texture Info"
1264 shortcut="control|alt|shift|T">
1265 <on_click function="Advanced.SelectedTextureInfo" userdata="" />
1266 </menu_item_call>
1267 <menu_item_check name="Wireframe" label="Wireframe"
1268 shortcut="control|shift|R">
1269 <on_click function="Advanced.ToggleWireframe" userdata="" />
1270 <on_check function="Advanced.CheckWireframe" userdata="" />
1271 </menu_item_check>
1272 <menu_item_check name="Object-Object Occlusion"
1273 label="Object-Object Occlusion"
1274 shortcut="control|shift|O">
1275 <on_click function="ToggleControl" userdata="UseOcclusion" />
1276 <on_check control="UseOcclusion" />
1277 </menu_item_check>
1278 <menu_item_check name="Debug GL" label="Debug GL">
1279 <on_click function="ToggleControl" userdata="RenderDebugGL" />
1280 <on_check control="RenderDebugGL" />
1281 </menu_item_check>
1282 <menu_item_check name="Debug Pipeline" label="Debug Pipeline">
1283 <on_click function="ToggleControl" userdata="RenderDebugPipeline" />
1284 <on_check control="RenderDebugPipeline" />
1285 </menu_item_check>
1286 <menu_item_check name="Fast Alpha" label="Fast Alpha">
1287 <on_click function="ToggleControl" userdata="RenderFastAlpha" />
1288 <on_check control="RenderFastAlpha" />
1289 </menu_item_check>
1290 <menu_item_check name="Animate Textures" label="Animate Textures">
1291 <on_click function="ToggleControl" userdata="AnimateTextures" />
1292 <on_check control="AnimateTextures" />
1293 </menu_item_check>
1294 <menu_item_check name="Disable Textures" label="Disable Textures">
1295 <on_click function="Advanced.ToggleDisableTextures" userdata="" />
1296 <on_check function="Advanced.CheckDisableTextures" userdata="" />
1297 </menu_item_check>
1298 <!-- Disabled because it doesn't seem to be used anymore.
1299 <menu_item_check name="HTTP Get Textures" label="HTTP Get Textures">
1300 <on_click function="ToggleControl"
1301 userdata="ImagePipelineUseHTTP" />
1302 <on_check control="ImagePipelineUseHTTP" />
1303 </menu_item_check>
1304 -->
1305 <menu_item_check name="Run Multiple Threads"
1306 label="Run Multiple Threads">
1307 <on_click function="ToggleControl"
1308 userdata="RunMultipleThreads" />
1309 <on_check control="RunMultipleThreads" />
1310 </menu_item_check>
1311 <!-- Disabled because it doesn't work very well?
1312 <menu_item_check name="Dynamic Reflections"
1313 label="Dynamic Reflections">
1314 <on_click function="ToggleControl"
1315 userdata="RenderDynamicReflections" />
1316 <on_check control="RenderDynamicReflections" />
1317 </menu_item_check>
1318 -->
1319 <menu_item_check name="Cheesy Beacon" label="Cheesy Beacon">
1320 <on_click function="ToggleControl"
1321 userdata="CheesyBeacon" />
1322 <on_check control="CheesyBeacon" />
1323 </menu_item_check>
1324 </menu>
1325
1326
1327
1328 <!-- WORLD -->
1329
1330 <menu drop_shadow="true" name="World" opaque="true" tear_off="true">
1331 <!-- Disabled because you can't do this in Windlight.
1332 <menu_item_check name="Mouse Moves Sun" label="Mouse Moves Sun"
1333 shortcut="control|alt|M">
1334 <on_click function="ToggleControl" userdata="MouseSun" />
1335 <on_check control="MouseSun" />
1336 </menu_item_check>
1337 -->
1338 <menu_item_check name="Sim Sun Override" label="Sim Sun Override">
1339 <on_click function="ToggleControl"
1340 userdata="SkyOverrideSimSunPosition" />
1341 <on_check control="SkyOverrideSimSunPosition" />
1342 </menu_item_check>
1343 <menu_item_call name="Dump Scripted Camera"
1344 label="Dump Scripted Camera">
1345 <on_click function="Advanced.DumpScriptedCamera" userdata="" />
1346 </menu_item_call>
1347 <menu_item_check name="Fixed Weather" label="Fixed Weather">
1348 <on_click function="ToggleControl" userdata="FixedWeather" />
1349 <on_check control="FixedWeather" />
1350 </menu_item_check>
1351 <menu_item_call name="Dump Region Object Cache"
1352 label="Dump Region Object Cache">
1353 <on_click function="Advanced.DumpRegionObjectCache" userdata="" />
1354 </menu_item_call>
1355 </menu>
1356
1357
1358
1359 <!-- UI -->
1360
1361 <menu drop_shadow="true" name="UI" opaque="true" tear_off="true">
1362 <menu_item_call name="SLURL Test" label="SLURL Test">
1363 <on_click function="Advanced.SLURLTest" userdata="" />
1364 </menu_item_call>
1365
1366 <!--
1367 *TODO: Make this a proper toggle item with the "X" indicator.
1368 1. Add a "Advanced.CheckEditableUI" function in llviewermenu.cpp.
1369 2. Change this surrounding menu_item_call to a menu_item_check.
1370 3. Uncomment the "on_check" line below.
1371 -->
1372 <menu_item_call name="Editable UI" label="Editable UI">
1373 <on_click function="Advanced.ToggleEditableUI" userdata="" />
1374 <!--
1375 <on_check function="Advanced.CheckEditableUI" userdata="" />
1376 -->
1377 </menu_item_call>
1378
1379 <menu_item_check name="Async Keystrokes" label="Async Keystrokes">
1380 <on_click function="Advanced.ToggleAsyncKeystrokes" userdata="" />
1381 <on_check function="Advanced.CheckAsyncKeystrokes" userdata="" />
1382 </menu_item_check>
1383 <menu_item_call name="Dump SelectMgr" label="Dump SelectMgr">
1384 <on_click function="Advanced.DumpSelectMgr" userdata="" />
1385 </menu_item_call>
1386 <menu_item_call name="Dump Inventory" label="Dump Inventory">
1387 <on_click function="Advanced.DumpInventory" userdata="" />
1388 </menu_item_call>
1389 <menu_item_call name="Dump Focus Holder"
1390 label="Dump Focus Holder" shortcut="control|alt|F">
1391 <on_click function="Advanced.DumpFocusHolder" userdata="" />
1392 </menu_item_call>
1393 <menu_item_call name="Print Selected Object Info"
1394 label="Print Selected Object Info"
1395 shortcut="control|shift|P">
1396 <on_click function="Advanced.PrintSelectedObjectInfo" userdata="" />
1397 </menu_item_call>
1398 <menu_item_call name="Print Agent Info" label="Print Agent Info"
1399 shortcut="shift|P">
1400 <on_click function="Advanced.PrintAgentInfo" userdata="" />
1401 </menu_item_call>
1402 <menu_item_call name="Memory Stats" label="Memory Stats"
1403 shortcut="control|alt|shift|M">
1404 <on_click function="Advanced.PrintTextureMemoryStats" userdata="" />
1405 </menu_item_call>
1406 <menu_item_check name="Double-Click Auto-Pilot"
1407 label="Double-Click Auto-Pilot">
1408 <on_click function="ToggleControl" userdata="DoubleClickAutoPilot" />
1409 <on_check control="DoubleClickAutoPilot" />
1410 </menu_item_check>
1411 <menu_item_separator />
1412 <menu_item_check name="Debug SelectMgr" label="Debug SelectMgr">
1413 <on_click function="Advanced.ToggleDebugSelectMgr" userdata="" />
1414 <on_check function="Advanced.CheckDebugSelectMgr" userdata="" />
1415 </menu_item_check>
1416 <menu_item_check label="Debug Click" name="Debug Clicks">
1417 <on_click function="Advanced.ToggleDebugClicks" userdata="" />
1418 <on_check function="Advanced.CheckDebugClicks" userdata="" />
1419 </menu_item_check>
1420 <menu_item_check name="Debug Views" label="Debug Views">
1421 <on_click function="Advanced.ToggleDebugViews" userdata="" />
1422 <on_check function="Advanced.CheckDebugViews" userdata="" />
1423 </menu_item_check>
1424 <menu_item_check name="Show Name Tooltips" label="Show Name Tooltips">
1425 <on_click function="Advanced.ToggleXUINameTooltips" userdata="" />
1426 <on_check function="Advanced.CheckXUINameTooltips" userdata="" />
1427 </menu_item_check>
1428 <menu_item_check name="Debug Mouse Events" label="Debug Mouse Events">
1429 <on_click function="Advanced.ToggleDebugMouseEvents" userdata="" />
1430 <on_check function="Advanced.CheckDebugMouseEvents" userdata="" />
1431 </menu_item_check>
1432 <menu_item_check name="Debug Keys" label="Debug Keys">
1433 <on_click function="Advanced.ToggleDebugKeys" userdata="" />
1434 <on_check function="Advanced.CheckDebugKeys" userdata="" />
1435 </menu_item_check>
1436 <menu_item_check name="Debug WindowProc" label="Debug WindowProc">
1437 <on_click function="Advanced.ToggleDebugWindowProc" userdata="" />
1438 <on_check function="Advanced.CheckDebugWindowProc" userdata="" />
1439 </menu_item_check>
1440 <menu_item_check name="Debug Text Editor Tips"
1441 label="Debug Text Editor Tips">
1442 <on_click function="Advanced.ToggleDebugTextEditorTips" userdata="" />
1443 <on_check function="Advanced.CheckDebugTextEditorTips" userdata="" />
1444 </menu_item_check>
1445 <menu_item_separator />
1446 <menu_item_check name="Show Time" label="Show Time">
1447 <on_click function="ToggleControl" userdata="DebugShowTime" />
1448 <on_check control="DebugShowTime" />
1449 </menu_item_check>
1450 <menu_item_check name="Show Render Info" label="Show Render Info">
1451 <on_click function="ToggleControl" userdata="DebugShowRenderInfo" />
1452 <on_check control="DebugShowRenderInfo" />
1453 </menu_item_check>
1454 <menu_item_check name="Show Color Under Cursor"
1455 label="Show Color Under Cursor">
1456 <on_click function="ToggleControl" userdata="DebugShowColor" />
1457 <on_check control="DebugShowColor" />
1458 </menu_item_check>
1459 </menu>
1460
1461
1462
1463 <!-- XUI -->
1464
1465 <menu drop_shadow="true" name="XUI" opaque="true" tear_off="true">
1466 <menu_item_call name="Floater Test..." label="Floater Test...">
1467 <on_click function="Advanced.ShowFloaterTest" userdata="" />
1468 </menu_item_call>
1469 <menu_item_call name="Export Menus to XML..."
1470 label="Export Menus to XML...">
1471 <on_click function="Advanced.ExportMenusToXML" userdata="" />
1472 </menu_item_call>
1473 <menu_item_call name="Edit UI..." label="Edit UI...">
1474 <on_click function="Advanced.EditUI" userdata="" />
1475 </menu_item_call>
1476 <menu_item_call name="Load from XML..." label="Load from XML...">
1477 <on_click function="Advanced.LoadUIFromXML" userdata="" />
1478 </menu_item_call>
1479 <menu_item_call name="Save to XML..." label="Save to XML...">
1480 <on_click function="Advanced.SaveUIToXML" userdata="" />
1481 </menu_item_call>
1482 <menu_item_check name="Show XUI Names" label="Show XUI Names">
1483 <on_click function="Advanced.ToggleXUINames" userdata="" />
1484 <on_check function="Advanced.CheckXUINames" userdata="" />
1485 </menu_item_check>
1486 </menu>
1487
1488
1489
1490 <!-- CHARACTER -->
1491
1492 <menu name="Character" drop_shadow="true" opaque="true" tear_off="true">
1493
1494 <menu name="Grab Baked Texture" drop_shadow="true"
1495 opaque="true" tear_off="true">
1496 <menu_item_call enabled="false" name="Iris" label="Iris">
1497 <on_click function="Advanced.GrabBakedTexture" userdata="eyes" />
1498 <on_enable function="Advanced.EnableGrabBakedTexture"
1499 userdata="eyes" />
1500 </menu_item_call>
1501 <menu_item_call enabled="false" name="Head" label="Head">
1502 <on_click function="Advanced.GrabBakedTexture" userdata="head" />
1503 <on_enable function="Advanced.EnableGrabBakedTexture"
1504 userdata="head" />
1505 </menu_item_call>
1506 <menu_item_call enabled="false" name="Upper Body" label="Upper Body">
1507 <on_click function="Advanced.GrabBakedTexture" userdata="upper" />
1508 <on_enable function="Advanced.EnableGrabBakedTexture"
1509 userdata="upper" />
1510 </menu_item_call>
1511 <menu_item_call enabled="false" name="Lower Body" label="Lower Body">
1512 <on_click function="Advanced.GrabBakedTexture" userdata="lower" />
1513 <on_enable function="Advanced.EnableGrabBakedTexture"
1514 userdata="lower" />
1515 </menu_item_call>
1516 <menu_item_call enabled="false" name="Skirt" label="Skirt">
1517 <on_click function="Advanced.GrabBakedTexture" userdata="skirt" />
1518 <on_enable function="Advanced.EnableGrabBakedTexture"
1519 userdata="skirt" />
1520 </menu_item_call>
1521 </menu>
1522
1523 <!-- CHARACTER TESTS -->
1524 <menu drop_shadow="true" name="Character Tests"
1525 opaque="true" tear_off="true">
1526 <menu_item_check name="Go Away/AFK When Idle"
1527 label="Go Away/AFK When Idle">
1528 <on_click function="Advanced.ToggleAllowIdleAFK" userdata="" />
1529 <on_check function="Advanced.CheckAllowIdleAFK" userdata="" />
1530 </menu_item_check>
1531 <menu_item_call name="Appearance To XML" label="Appearance To XML">
1532 <on_click function="Advanced.ToggleAppearanceToXML" userdata="" />
1533 </menu_item_call>
1534 <menu_item_call name="Toggle Character Geometry" enabled="false"
1535 label="Toggle Character Geometry">
1536 <on_click function="Advanced.ToggleCharacterGeometry" userdata="" />
1537 <on_enable function="EnableGodCustomerService" userdata="" />
1538 </menu_item_call>
1539 <menu_item_call name="Test Male" label="Test Male">
1540 <on_click function="Advanced.TestMale" userdata="" />
1541 </menu_item_call>
1542 <menu_item_call name="Test Female" label="Test Female">
1543 <on_click function="Advanced.TestFemale" userdata="" />
1544 </menu_item_call>
1545 <menu_item_call name="Toggle PG" label="Toggle PG">
1546 <on_click function="Advanced.TogglePG" userdata="" />
1547 </menu_item_call>
1548 <menu_item_check name="Allow Select Avatar"
1549 label="Allow Select Avatar">
1550 <on_click function="Advanced.ToggleAllowSelectAvatar" userdata="" />
1551 <on_check function="Advanced.CheckAllowSelectAvatar" userdata="" />
1552 </menu_item_check>
1553 </menu>
1554
1555 <menu_item_check name="Enable Lip Sync (Beta)"
1556 label="Enable Lip Sync (Beta)">
1557 <on_click function="ToggleControl" userdata="LipSyncEnabled" />
1558 <on_check control="LipSyncEnabled" />
1559 </menu_item_check>
1560 <menu_item_check name="Tap-Tap-Hold To Run"
1561 label="Tap-Tap-Hold To Run">
1562 <on_click function="Advanced.ToggleAllowTapTapHoldRun" userdata="" />
1563 <on_check function="Advanced.CheckAllowTapTapHoldRun" userdata="" />
1564 </menu_item_check>
1565 <menu_item_call name="Force Params to Default"
1566 label="Force Params to Default">
1567 <on_click function="Advanced.ForceParamsToDefault" userdata="" />
1568 </menu_item_call>
1569 <menu_item_call name="Reload Vertex Shader"
1570 label="Reload Vertex Shader">
1571 <on_click function="Advanced.ReloadVertexShader" userdata="" />
1572 </menu_item_call>
1573 <menu_item_check label="Animation Info"
1574 name="Animation Info">
1575 <on_click function="Advanced.ToggleAnimationInfo" userdata="" />
1576 <on_check function="Advanced.CheckAnimationInfo" userdata="" />
1577 </menu_item_check>
1578
1579 <!--
1580 *TODO: Make this a proper toggle item with the "X" indicator.
1581 1. Add a "Advanced.CheckSlowmotionAnimation" function in
1582 llviewermenu.cpp.
1583 2. Change this surrounding menu_item_call to a menu_item_check.
1584 3. Uncomment the "on_check" line below.
1585 -->
1586 <menu_item_call name="Slow Motion Animations"
1587 label="Slow Motion Animations">
1588 <on_click function="Advanced.ToggleSlowMotionAnimations" userdata="" />
1589 <!--
1590 <on_check function="Advanced.CheckSlowMotionAnimations"
1591 userdata="" />
1592 -->
1593 </menu_item_call>
1594
1595 <menu_item_check name="Show Look At" label="Show Look At">
1596 <on_click function="Advanced.ToggleShowLookAt" userdata="" />
1597 <on_check function="Advanced.CheckShowLookAt" userdata="" />
1598 </menu_item_check>
1599 <menu_item_check name="Show Point At" label="Show Point At">
1600 <on_click function="Advanced.ToggleShowPointAt" userdata="" />
1601 <on_check function="Advanced.CheckShowPointAt" userdata="" />
1602 </menu_item_check>
1603 <menu_item_check name="Debug Joint Updates" label="Debug Joint Updates">
1604 <on_click function="Advanced.ToggleDebugJointUpdates" userdata="" />
1605 <on_check function="Advanced.CheckDebugJointUpdates" userdata="" />
1606 </menu_item_check>
1607 <menu_item_check name="Disable LOD" label="Disable LOD">
1608 <on_click function="Advanced.ToggleDisableLOD" userdata="" />
1609 <on_check function="Advanced.CheckDisableLOD" userdata="" />
1610 </menu_item_check>
1611 <menu_item_check name="Debug Character Vis" label="Debug Character Vis">
1612 <on_click function="Advanced.ToggleDebugCharacterVis" userdata="" />
1613 <on_check function="Advanced.CheckDebugCharacterVis" userdata="" />
1614 </menu_item_check>
1615
1616 <!-- Disabled. See DEV-14477
1617 <menu_item_check name="Show Collision Plane"
1618 label="Show Collision Plane">
1619 <on_click function="Advanced.ToggleShowCollisionPlane"
1620 userdata="" />
1621 <on_check function="Advanced.CheckShowCollisionPlane"
1622 userdata="" />
1623 </menu_item_check>
1624 -->
1625
1626 <menu_item_check name="Show Collision Skeleton"
1627 label="Show Collision Skeleton">
1628 <on_click function="Advanced.ToggleShowCollisionSkeleton"
1629 userdata="" />
1630 <on_check function="Advanced.CheckShowCollisionSkeleton"
1631 userdata="" />
1632 </menu_item_check>
1633 <menu_item_check name="Display Agent Target"
1634 label="Display Agent Target">
1635 <on_click function="Advanced.ToggleDisplayAgentTarget" userdata="" />
1636 <on_check function="Advanced.CheckDisplayAgentTarget" userdata="" />
1637 </menu_item_check>
1638 <menu_item_check name="Debug Rotation" label="Debug Rotation">
1639 <on_click function="Advanced.ToggleDebugAvatarRotation" userdata="" />
1640 <on_check function="Advanced.CheckDebugAvatarRotation" userdata="" />
1641 </menu_item_check>
1642 <menu_item_call name="Dump Attachments" label="Dump Attachments">
1643 <on_click function="Advanced.DumpAttachments" userdata="" />
1644 </menu_item_call>
1645 <menu_item_call name="Rebake Textures" label="Rebake Textures"
1646 shortcut="control|alt|R">
1647 <on_click function="Advanced.RebakeTextures" userdata="" />
1648 </menu_item_call>
1649 </menu>
1650
1651
1652
1653 <!-- NETWORK -->
1654
1655 <menu drop_shadow="true" name="Network" opaque="true" tear_off="true">
1656 <menu_item_call name="Enable Message Log" label="Enable Message Log">
1657 <on_click function="Advanced.EnableMessageLog" userdata="" />
1658 </menu_item_call>
1659 <menu_item_call name="Disable Message Log" label="Disable Message Log">
1660 <on_click function="Advanced.DisableMessageLog" userdata="" />
1661 </menu_item_call>
1662 <menu_item_separator />
1663 <menu_item_check name="Velocity Interpolate Objects"
1664 label="Velocity Interpolate Objects">
1665 <on_click function="ToggleControl" userdata="VelocityInterpolate" />
1666 <on_check control="VelocityInterpolate" />
1667 </menu_item_check>
1668 <menu_item_check name="Ping Interpolate Object Positions"
1669 label="Ping Interpolate Object Positions">
1670 <on_click function="ToggleControl" userdata="PingInterpolate" />
1671 <on_check control="PingInterpolate" />
1672 </menu_item_check>
1673 <menu_item_separator />
1674 <menu_item_call name="Drop a Packet" label="Drop a Packet"
1675 shortcut="control|alt|L">
1676 <on_click function="Advanced.DropPacket" userdata="" />
1677 </menu_item_call>
1678 </menu>
1679
1680
1681
1682 <!-- RECORDER -->
1683
1684 <menu name="Recorder" drop_shadow="true" opaque="true" tear_off="true">
1685 <menu_item_check name="Full Session Logging"
1686 label="Full Session Logging">
1687 <on_click function="ToggleControl"
1688 userdata="StatsSessionTrackFrameStats" />
1689 <on_check control="StatsSessionTrackFrameStats" />
1690 </menu_item_check>
1691 <menu_item_call name="Start Logging" label="Start Logging">
1692 <on_click function="Advanced.FrameStatsLogging"
1693 userdata="start logging" />
1694 </menu_item_call>
1695 <menu_item_call name="Stop Logging" label="Stop Logging">
1696 <on_click function="Advanced.FrameStatsLogging"
1697 userdata="stop logging" />
1698 </menu_item_call>
1699 <menu_item_call name="Log 10 Seconds" label="Log 10 Seconds">
1700 <on_click function="Advanced.FrameStatsLogging"
1701 userdata="timed logging 10" />
1702 </menu_item_call>
1703 <menu_item_call name="Log 30 Seconds" label="Log 30 Seconds">
1704 <on_click function="Advanced.FrameStatsLogging"
1705 userdata="timed logging 30" />
1706 </menu_item_call>
1707 <menu_item_call name="Log 60 Seconds" label="Log 60 Seconds">
1708 <on_click function="Advanced.FrameStatsLogging"
1709 userdata="timed logging 60" />
1710 </menu_item_call>
1711
1712 <menu_item_separator />
1713
1714 <menu_item_call name="Start Playback" label="Start Playback">
1715 <on_click function="Advanced.AgentPilot" userdata="start playback" />
1716 </menu_item_call>
1717 <menu_item_call name="Stop Playback" label="Stop Playback">
1718 <on_click function="Advanced.AgentPilot" userdata="stop playback" />
1719 </menu_item_call>
1720 <menu_item_check name="Loop Playback" label="Loop Playback">
1721 <on_click function="Advanced.ToggleAgentPilotLoop" userdata="" />
1722 <on_check function="Advanced.CheckAgentPilotLoop" userdata="" />
1723 </menu_item_check>
1724 <menu_item_call name="Start Record" label="Start Record">
1725 <on_click function="Advanced.AgentPilot" userdata="start record" />
1726 </menu_item_call>
1727 <menu_item_call name="Stop Record" label="Stop Record">
1728 <on_click function="Advanced.AgentPilot" userdata="stop record" />
1729 </menu_item_call>
1730 </menu>
1731
1732
1733 <menu_item_separator />
1734
1735
1736 <menu_item_check name="Show Updates" label="Show Updates"
1737 shortcut="control|alt|shift|U">
1738 <on_click function="Advanced.ToggleShowObjectUpdates" userdata="" />
1739 <on_check function="Advanced.CheckShowObjectUpdates" userdata="" />
1740 </menu_item_check>
1741
1742 <menu_item_separator />
1743
1744 <menu_item_call name="Compress Image..."
1745 label="Compress Image...">
1746 <on_click function="Advanced.CompressImage" userdata="" />
1747 </menu_item_call>
1748 <menu_item_check name="Limit Select Distance"
1749 label="Limit Select Distance">
1750 <on_click function="ToggleControl"
1751 userdata="LimitSelectDistance" />
1752 <on_check control="LimitSelectDistance" />
1753 </menu_item_check>
1754 <menu_item_check name="Disable Camera Constraints"
1755 label="Disable Camera Constraints">
1756 <on_click function="ToggleControl"
1757 userdata="DisableCameraConstraints" />
1758 <on_check control="DisableCameraConstraints" />
1759 </menu_item_check>
1760 <menu_item_check name="Mouse Smoothing" label="Mouse Smoothing">
1761 <on_click function="ToggleControl"
1762 userdata="MouseSmooth" />
1763 <on_check control="MouseSmooth" />
1764 </menu_item_check>
1765
1766 <menu_item_separator />
1767
1768 <menu_item_check name="Console Window" label="Console Window">
1769 <on_click function="ToggleControl"
1770 userdata="ShowConsoleWindow" />
1771 <on_check control="ShowConsoleWindow" />
1772 </menu_item_check>
1773 <menu_item_check name="Output Debug Minidump"
1774 label="Output Debug Minidump">
1775 <on_click function="ToggleControl"
1776 userdata="SaveMiniDump" />
1777 <on_check control="SaveMiniDump" />
1778 </menu_item_check>
1779 <menu_item_check name="Clothing..." label="Clothing...">
1780 <on_click function="Advanced.ToggleClothingFloater" userdata="" />
1781 </menu_item_check>
1782 <menu_item_call name="Debug Settings" label="Debug Settings">
1783 <on_click function="Advanced.ShowDebugSettings" userdata="" />
1784 </menu_item_call>
1785 <menu_item_check name="View Admin Options" label="View Admin Options"
1786 shortcut="control|alt|V">
1787 <on_click function="Advanced.ToggleViewAdminOptions" userdata="" />
1788 <on_check function="Advanced.CheckViewAdminOptions" userdata="" />
1789 </menu_item_check>
1790 <menu_item_call name="Request Admin Status" label="Request Admin Status"
1791 shortcut="control|alt|G">
1792 <on_click function="Advanced.RequestAdminStatus" userdata="" />
1793 </menu_item_call>
1794 <menu_item_call name="Leave Admin Status" label="Leave Admin Status"
1795 shortcut="control|alt|shift|G">
1796 <on_click function="Advanced.LeaveAdminStatus" userdata="" />
1797 </menu_item_call>
1798
1799 </menu>
1800
1801
1802
856</menu_bar> 1803</menu_bar>