aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
blob: 222a9ad4a9ae24ddb14b8cb9aead3c8a53cd3d75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>

<menu_bar name="Main Menu" drop_shadow="false" follows="left|top|right"
          opaque="false" tear_off="false">


  <!-- FILE -->

  <menu name="File" create_jump_keys="true" label="File"
        opaque="true" tear_off="true">
    <menu_item_call name="Upload Image"
                    label="Upload Image (L$[COST])..."
                    shortcut="control|U">
      <on_click function="File.UploadImage" userdata="" />
      <on_enable function="File.EnableUpload" />
    </menu_item_call>
    <menu_item_call name="Upload Sound"
                    label="Upload Sound (L$[COST])...">
      <on_click function="File.UploadSound" userdata="" />
      <on_enable function="File.EnableUpload" />
    </menu_item_call>
    <menu_item_call name="Upload Animation"
                    label="Upload Animation (L$[COST])...">
      <on_click function="File.UploadAnim" userdata="" />
      <on_enable function="File.EnableUpload" />
    </menu_item_call>
    <menu_item_call name="Bulk Upload"
                    label="Bulk Upload (L$[COST] per file)...">
      <on_click function="File.UploadBulk" userdata="" />
    </menu_item_call>
    <menu_item_separator />
	  <menu_item_call name="Import" label="Import" enabled="false">
      <on_click function="Object.Import" />
      <on_enable function="Object.EnableImport" />
    </menu_item_call>
    <menu_item_call name="Upload + Import" label="Upload + Import"
                    enabled="false">
      <on_click function="Object.ImportUpload" />
      <on_enable function="Object.EnableImport" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Close Window"
                    label="Close Window"
                    shortcut="control|W">
      <on_click function="File.CloseWindow"
                userdata="" />
      <on_enable function="File.EnableCloseWindow"
                 userdata="" />
    </menu_item_call>
    <menu_item_call name="Close All Windows"
                    label="Close All Windows"
                    shortcut="control|shift|W">
      <on_click function="File.CloseAllWindows"
                userdata="" />
      <on_enable function="File.EnableCloseAllWindows"
                 userdata="" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Save Texture As..."
                    label="Save Texture As...">
      <on_click function="File.SaveTexture" userdata="" />
      <on_enable function="File.EnableSaveAs" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Take Snapshot"
                    label="Take Snapshot"
                    shortcut="control|shift|S">
      <on_click function="File.TakeSnapshot" userdata="" />
    </menu_item_call>
    <menu_item_call name="Snapshot to Disk"
                    label="Snapshot to Disk"
                    shortcut="control|`" useMacCtrl="true">
      <on_click function="File.TakeSnapshotToDisk"
                userdata="" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Logout" label="Logout"
                    shortcut="control|alt|Q">
          <on_click function="File.Logout" userdata="" />
    </menu_item_call>
    <menu_item_call name="Quit" label="Quit"
                    shortcut="control|Q">
      <on_click function="File.Quit" userdata="" />
    </menu_item_call>
  </menu>



  <!-- EDIT -->

  <menu name="Edit" create_jump_keys="true" label="Edit"
        opaque="true" tear_off="true">
    <menu_item_call name="Undo" enabled="false" label="Undo"
                    shortcut="control|Z">
      <on_click function="Edit.Undo" userdata="" />
      <on_enable function="Edit.EnableUndo" />
    </menu_item_call>
    <menu_item_call name="Redo" enabled="false" label="Redo"
                    shortcut="control|Y">
      <on_click function="Edit.Redo" userdata="" />
      <on_enable function="Edit.EnableRedo" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Cut" enabled="false" label="Cut"
                    shortcut="control|X">
      <on_click function="Edit.Cut" userdata="" />
      <on_enable function="Edit.EnableCut" />
    </menu_item_call>
    <menu_item_call name="Copy" enabled="false" label="Copy"
                    shortcut="control|C">
      <on_click function="Edit.Copy" userdata="" />
      <on_enable function="Edit.EnableCopy" />
    </menu_item_call>
    <menu_item_call name="Paste" enabled="false" label="Paste"
                    shortcut="control|V">
      <on_click function="Edit.Paste" userdata="" />
      <on_enable function="Edit.EnablePaste" />
    </menu_item_call>
    <menu_item_call name="Delete" enabled="false" label="Delete"
                    shortcut="Del">
      <on_click function="Edit.Delete" userdata="" />
      <on_enable function="Edit.EnableDelete" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Search..." label="Search..."
                    shortcut="control|F">
      <on_click function="Edit.Search" userdata="" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Select All" enabled="false"
                    label="Select All"
                    shortcut="control|A">
      <on_click function="Edit.SelectAll" userdata="" />
      <on_enable function="Edit.EnableSelectAll" />
    </menu_item_call>
    <menu_item_call name="Deselect" enabled="false"
                    label="Deselect"
                    shortcut="control|E">
      <on_click function="Edit.Deselect" userdata="" />
      <on_enable function="Edit.EnableDeselect" />
    </menu_item_call>
    <menu_item_separator />

    <menu name="Attach Object" create_jump_keys="true"
          label="Attach Object" opaque="true" tear_off="true" />

    <menu name="Detach Object" create_jump_keys="true"
          label="Detach Object" opaque="true" tear_off="true" />


    <menu name="Take Off Clothing" create_jump_keys="true"
          label="Take Off Clothing" opaque="true" tear_off="true">

      <menu_item_call name="Shirt" enabled="false" label="Shirt">
        <on_click function="Edit.TakeOff"
                  userdata="shirt" />
        <on_enable function="Edit.EnableTakeOff"
                   userdata="shirt" />
      </menu_item_call>
      <menu_item_call name="Pants" enabled="false" label="Pants">
        <on_click function="Edit.TakeOff"
                  userdata="pants" />
        <on_enable function="Edit.EnableTakeOff"
                   userdata="pants" />
      </menu_item_call>
      <menu_item_call name="Shoes" enabled="false" label="Shoes">
        <on_click function="Edit.TakeOff"
                  userdata="shoes" />
        <on_enable function="Edit.EnableTakeOff"
                   userdata="shoes" />
      </menu_item_call>
      <menu_item_call name="Socks" enabled="false" label="Socks">
        <on_click function="Edit.TakeOff"
                  userdata="socks" />
        <on_enable function="Edit.EnableTakeOff"
                   userdata="socks" />
      </menu_item_call>
      <menu_item_call name="Jacket" enabled="false" label="Jacket">
        <on_click function="Edit.TakeOff"
                  userdata="jacket" />
        <on_enable function="Edit.EnableTakeOff"
                   userdata="jacket" />
      </menu_item_call>
      <menu_item_call name="Gloves" enabled="false" label="Gloves">
        <on_click function="Edit.TakeOff"
                  userdata="gloves" />
        <on_enable function="Edit.EnableTakeOff"
                   userdata="gloves" />
      </menu_item_call>
      <menu_item_call name="Menu Undershirt" enabled="false"
                      label="Undershirt">
        <on_click function="Edit.TakeOff"
                  userdata="undershirt" />
        <on_enable function="Edit.EnableTakeOff"
                   userdata="undershirt" />
      </menu_item_call>
      <menu_item_call name="Menu Underpants" enabled="false"
                      label="Underpants">
        <on_click function="Edit.TakeOff"
                  userdata="underpants" />
        <on_enable function="Edit.EnableTakeOff"
                   userdata="underpants" />
      </menu_item_call>
      <menu_item_call name="Skirt" enabled="false" label="Skirt">
        <on_click function="Edit.TakeOff"
                  userdata="skirt" />
        <on_enable function="Edit.EnableTakeOff"
                   userdata="skirt" />
      </menu_item_call>
      <menu_item_call name="All Clothes" label="All Clothes">
        <on_click function="Edit.TakeOff"
                  userdata="all" />
      </menu_item_call>
    </menu>
      <menu_item_call name="Refresh Appearance"
                      label="Refresh Appearance"
                      shortcut="control|alt|R">
        <on_click function="Advanced.RebakeTextures"
                  userdata="" />
      </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Gestures..." label="Gestures..."
                    shortcut="control|G">
      <on_click function="ShowFloater"
                userdata="gestures" />
    </menu_item_call>
    <menu_item_call name="Profile..." label="Profile...">
      <on_click function="ShowAgentProfile"
                userdata="agent" />
    </menu_item_call>
    <menu_item_call name="Appearance..." label="Appearance...">
      <on_click function="ShowFloater"
                userdata="appearance" />
      <on_enable function="Edit.EnableCustomizeAvatar" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_check name="Friends..." label="Friends..."
                     shortcut="control|shift|F">
      <on_click function="ShowFloater"
                userdata="friends" />
      <on_check function="FloaterVisible"
                userdata="friends" />
    </menu_item_check>
    <menu_item_call name="Groups..." label="Groups...">
      <on_click function="ShowAgentGroups"
                userdata="agent" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Preferences..." label="Preferences..."
                    shortcut="control|P">
      <on_click function="ShowFloater"
                userdata="preferences" />
    </menu_item_call>
  </menu>



  <!-- VIEW -->

  <menu name="View" create_jump_keys="true" label="View"
        opaque="true" tear_off="true">
    <menu_item_call name="Mouselook" label="Mouselook"
                    shortcut="M">
      <on_click function="View.Mouselook" userdata="" />
      <on_enable function="View.EnableMouselook" />
    </menu_item_call>
    <menu_item_check name="Build" label="Build"
                     shortcut="B">
      <on_click function="View.BuildMode" userdata="" />
      <on_check function="View.CheckBuildMode" />
    </menu_item_check>
    <menu_item_check name="Joystick Flycam" label="Joystick Flycam"
                     shortcut="alt|shift|F">
      <on_click function="View.JoystickFlycam" userdata="" />
      <on_check function="View.CheckJoystickFlycam" />
    </menu_item_check>
    <menu_item_call name="Reset View" label="Reset View"
                    shortcut="Esc">
      <on_click function="View.ResetView" userdata="" />
    </menu_item_call>
    <menu_item_call name="Look at Last Chatter" enabled="false"
                    label="Look at Last Chatter" shortcut="control|\">
      <on_click function="View.LookAtLastChatter" userdata="" />
      <on_enable function="View.EnableLastChatter" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Web Browser" label="Web Browser"
                    shortcut="control|B">
      <on_click function="ShowFloater" userdata="inworld browser" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_check name="Toolbar" label="Toolbar">
      <on_click function="ShowFloater" userdata="toolbar" />
      <on_check function="FloaterVisible" userdata="toolbar" />
    </menu_item_check>
    <menu_item_check name="Chat History" label="Local Chat"
                     shortcut="control|H">
      <on_click function="ShowFloater" userdata="chat history" />
      <on_check function="FloaterVisible" userdata="chat history" />
    </menu_item_check>
    <menu_item_check name="Instant Message" label="Communicate"
                     shortcut="control|T">
      <on_click function="View.Communicate"/>
      <on_check function="FloaterVisible" userdata="communicate" />
    </menu_item_check>
    <menu_item_call name="Inventory" label="Inventory"
                    shortcut="control|I">
      <on_click function="ShowFloater" userdata="inventory" />
      <on_check function="FloaterVisible" userdata="inventory" />
    </menu_item_call>
    <menu_item_check name="Active Speakers" label="Active Speakers">
      <on_click function="ShowFloater" userdata="active speakers" />
      <on_check function="FloaterVisible" userdata="active speakers" />
    </menu_item_check>
    <menu_item_check name="Mute List" label="Mute List">
      <on_click function="ShowFloater" userdata="mute list" />
      <on_check function="FloaterVisible" userdata="mute list" />
    </menu_item_check>
    <menu_item_separator />
    <menu_item_check name="Camera Controls" label="Camera Controls">
      <on_click function="ShowFloater" userdata="camera controls" />
      <on_check function="FloaterVisible" userdata="camera controls" />
    </menu_item_check>
    <menu_item_check name="Movement Controls" label="Movement Controls">
      <on_click function="ShowFloater" userdata="movement controls" />
      <on_check function="FloaterVisible" userdata="movement controls" />
    </menu_item_check>
    <menu_item_check name="World Map" label="World Map"
                     shortcut="control|M">
      <on_click function="ShowFloater" userdata="world map" />
      <on_check control="ShowWorldMap" />
    </menu_item_check>
    <menu_item_check name="Mini-Map" label="Mini-Map"
                     shortcut="control|shift|M">
      <on_click function="ShowFloater" userdata="mini map" />
      <on_check control="ShowMiniMap" />
    </menu_item_check>
    <menu_item_separator />
    <menu_item_check name="Statistics Bar" label="Statistics Bar"
                     shortcut="control|shift|1">
      <on_click function="ShowFloater" userdata="stat bar" />
      <on_check function="FloaterVisible" userdata="stat bar" />
    </menu_item_check>
    <menu_item_check name="Property Lines" label="Property Lines"
                     shortcut="control|alt|shift|P">
      <on_click function="ToggleControl" userdata="ShowPropertyLines" />
      <on_check control="ShowPropertyLines" />
    </menu_item_check>
    <menu_item_check name="Land Owners" label="Land Owners">
      <on_click function="ToggleControl" userdata="ShowParcelOwners" />
      <on_check control="ShowParcelOwners" />
    </menu_item_check>
    <menu_item_separator />
    <menu name="Hover Tips" create_jump_keys="true" label="Hover Tips"
          opaque="true" tear_off="true">
      <menu_item_check name="Show Tips" label="Show Tips"
                       shortcut="control|shift|T">
        <on_click function="View.ShowHoverTips" userdata="" />
        <on_check function="View.CheckShowHoverTips" />
      </menu_item_check>
      <menu_item_separator />
      <menu_item_check name="Land Tips" label="Land Tips">
        <on_click function="ToggleControl"
                  userdata="ShowLandHoverTip" />
        <on_enable function="View.CheckShowHoverTips" />
        <on_check control="ShowLandHoverTip" />
      </menu_item_check>
      <menu_item_check name="Tips On All Objects"
                       label="Tips On All Objects">
        <on_click function="ToggleControl"
                  userdata="ShowAllObjectHoverTip" />
        <on_enable function="View.CheckShowHoverTips" />
        <on_check control="ShowAllObjectHoverTip" />
      </menu_item_check>
    </menu>
    <menu_item_check name="Highlight Transparent"
                     label="Highlight Transparent"
                     shortcut="control|alt|T">
      <on_click function="View.HighlightTransparent" userdata="" />
      <on_check function="View.CheckHighlightTransparent" />
    </menu_item_check>
    <menu_item_check name="beacons" label="Beacons"
                     shortcut="control|alt|shift|N">
      <on_click function="ShowFloater" userdata="beacons" />
      <on_check function="FloaterVisible" userdata="beacons" />
    </menu_item_check>
    <menu_item_check name="Hide Particles" label="Hide Particles"
                     shortcut="control|alt|shift|=">
      <on_click function="View.ToggleRenderType" userdata="hideparticles" />
      <on_check function="View.CheckRenderType" userdata="hideparticles" />
    </menu_item_check>
    <menu_item_check name="Show HUD Attachments" label="Show HUD Attachments"
                     shortcut="alt|shift|H">
      <on_click function="View.ShowHUDAttachments" userdata="" />
      <on_check function="View.CheckHUDAttachments" />
    </menu_item_check>
    <menu_item_separator />
    <menu name="Zoom Level" create_jump_keys="true"
            label="Zoom Level" opaque="true" tear_off="true">
      <menu_item_call name="Zoom In" label="Zoom In"
                      shortcut="control|0">
        <on_click function="View.ZoomIn" userdata="" />
      </menu_item_call>
      <menu_item_call name="Zoom Default" label="Zoom Default"
                      shortcut="control|9">
        <on_click function="View.ZoomDefault" userdata="" />
      </menu_item_call>
      <menu_item_call name="Zoom Out" label="Zoom Out"
                      shortcut="control|8">
        <on_click function="View.ZoomOut" userdata="" />
      </menu_item_call>
    </menu>
    <menu_item_call name="Toggle Fullscreen" label="Toggle Fullscreen"
                    shortcut="alt|Enter">
      <on_click function="View.Fullscreen" userdata="" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_check name="Toggle Advanced Menu" 
                    label="Advanced Menu"
                    shortcut="control|alt|D">
      <on_click function="View.ToggleAdvanced" userdata="" />
      <on_check function="View.CheckAdvanced" />
    </menu_item_check>
  </menu>



  <!-- WORLD -->

  <menu name="World" create_jump_keys="true" label="World"
        opaque="true" tear_off="true">
    <menu_item_call name="Chat" label="Chat" shortcut="">
      <on_click function="World.Chat" userdata="" />
    </menu_item_call>
    <menu_item_check name="Always Run" label="Always Run"
                     shortcut="control|R">
      <on_click function="World.AlwaysRun" userdata="" />
      <on_check function="World.CheckAlwaysRun" userdata="" />
    </menu_item_check>
    <menu_item_check name="Fly" label="Fly" shortcut="Home">
      <on_click function="World.Fly" userdata="" />
      <on_enable function="World.EnableFly" />
      <on_check control="FlyBtnState" />
    </menu_item_check>
    <menu_item_separator />
    <menu_item_call name="Create Landmark Here" label="Create Landmark Here">
      <on_click function="World.CreateLandmark" userdata="" />
      <on_enable function="World.EnableCreateLandmark" userdata="" />
    </menu_item_call>
    <menu_item_call name="Set Home to Here" label="Set Home to Here">
      <on_click function="World.SetHomeLocation" userdata="" />
      <on_enable function="World.EnableSetHomeLocation" userdata="" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Teleport Home" label="Teleport Home"
                    shortcut="control|shift|H">
      <on_click function="World.TeleportHome" userdata="" />
      <on_enable function="World.EnableTeleportHome" userdata="" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Set Away" label="Set Away">
      <on_click function="World.SetAway" userdata="" />
    </menu_item_call>
    <menu_item_call name="Set Busy" label="Set Busy">
      <on_click function="World.SetBusy" userdata="" />
    </menu_item_call>
    <menu_item_call name="Stop Animating My Avatar" enabled="false"
                    label="Stop Animating My Avatar">
      <on_click function="Tools.StopAllAnimations" userdata="" />
    </menu_item_call>
    <menu_item_call name="Release Keys" enabled="false" label="Release Keys">
      <on_click function="Tools.ReleaseKeys" userdata="" />
      <on_enable function="Tools.EnableReleaseKeys" userdata="" />
		</menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Account History..."
                    label="Account History...">
      <on_click function="PromptShowURL" name="AccountHistory_url"
                userdata="WebLaunchAccountHistory,http://secondlife.com/account/transactions.php" />
    </menu_item_call>
    <menu_item_call name="Manage My Account..."
                    label="Manage My Account...">
      <on_click function="PromptShowURL" name="ManageMyAccount_url"
                userdata="WebLaunchJoinNow,http://secondlife.com/account/" />
    </menu_item_call>
    <menu_item_call name="Buy and Sell L$..." label="Buy L$...">
      <on_click function="ShowFloater" userdata="buy currency" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="My Land..." label="My Land...">
      <on_click function="ShowFloater" userdata="my land" />
    </menu_item_call>
    <menu_item_call name="About Land..." label="About Land...">
      <on_click function="ShowFloater" userdata="about land" />
    </menu_item_call>
    <menu_item_call name="Buy Land..." label="Buy Land...">
      <on_click function="ShowFloater" userdata="buy land" />
      <on_enable function="World.EnableBuyLand" />
    </menu_item_call>
    <menu_item_call name="Region/Estate..." label="Region/Estate...">
      <on_click function="ShowFloater" userdata="about region" />
    </menu_item_call>
    <menu_item_separator />
    <menu name="Environment Settings" create_jump_keys="true"
          label="Environment Settings" opaque="true" tear_off="true">
      <menu_item_call name="Sunrise" label="Sunrise">
        <on_click function="World.EnvSettings" userdata="sunrise" />
      </menu_item_call>
      <menu_item_call name="Noon" label="Midday"
                      shortcut="control|shift|Y">
        <on_click function="World.EnvSettings" userdata="noon" />
      </menu_item_call>
      <menu_item_call name="Sunset" label="Sunset"
                      shortcut="control|shift|N">
        <on_click function="World.EnvSettings" userdata="sunset" />
      </menu_item_call>
      <menu_item_call name="Midnight" label="Midnight">
        <on_click function="World.EnvSettings" userdata="midnight" />
      </menu_item_call>
      <menu_item_call name="Revert to Region Default" enabled="false"
                      label="Revert to Region Default">
        <on_click function="World.EnvSettings" userdata="default" />
      </menu_item_call>
      <menu_item_separator />
      <menu_item_call name="Environment Editor" enabled="false"
                      label="Environment Editor">
        <on_click function="World.EnvSettings" userdata="editor" />
      </menu_item_call>
    </menu>
  </menu>



  <!-- TOOLS -->

  <menu name="Tools" create_jump_keys="true" label="Tools"
        opaque="true" tear_off="true" visible="false">
    <menu name="Select Tool" create_jump_keys="true" label="Choose Tool"
          opaque="true" tear_off="true">
      <menu_item_call name="Focus" label="Focus" shortcut="control|1">
        <on_click function="Tools.SelectTool" userdata="focus" />
      </menu_item_call>
      <menu_item_call name="Move" label="Move" shortcut="control|2">
        <on_click function="Tools.SelectTool" userdata="move" />
      </menu_item_call>
      <menu_item_call name="Edit" label="Edit" shortcut="control|3">
        <on_click function="Tools.SelectTool" userdata="edit" />
      </menu_item_call>
      <menu_item_call name="Create" label="Create" shortcut="control|4">
        <on_click function="Tools.SelectTool" userdata="create" />
      </menu_item_call>
      <menu_item_call name="Land" label="Land" shortcut="control|5">
        <on_click function="Tools.SelectTool" userdata="land" />
      </menu_item_call>
    </menu>
    <menu_item_separator />
    <menu_item_call name="Focus on Selection" enabled="false"
                    label="Focus on Selection" shortcut="H">
      <on_click function="Tools.LookAtSelection" userdata="focus" />
      <on_enable function="Tools.SomethingSelectedNoHUD" />
    </menu_item_call>
    <menu_item_call name="Zoom to Selection" enabled="false"
                    label="Zoom to Selection" shortcut="shift|H">
      <on_click function="Tools.LookAtSelection" userdata="zoom" />
      <on_enable function="Tools.SomethingSelectedNoHUD" />
    </menu_item_call>
    <menu name="Selection Options" label="Selection Options"
          create_jump_keys="true" opaque="true" tear_off="true">
      <menu_item_check name="Select Only My Objects"
                       label="Select Only My Objects">
        <on_click function="Tools.SelectOnlyMyObjects"
                  userdata="agents" />
        <on_check control="SelectOwnedOnly" />
      </menu_item_check>
      <menu_item_check name="Select Only Movable Objects"
                       label="Select Only Movable Objects">
        <on_click function="Tools.SelectOnlyMovableObjects"
                  userdata="movable" />
        <on_check control="SelectMovableOnly" />
      </menu_item_check>
      <menu_item_check name="Select Only Copyable Objects"
                       label="Select Only Copyable Objects">
        <on_click function="Tools.SelectOnlyCopyableObjects"
                  userdata="copyable" />
        <on_check control="SelectCopyableOnly" />
      </menu_item_check>
      <menu_item_check name="Select By Surrounding"
                       label="Select By Surrounding">
        <on_click function="Tools.SelectBySurrounding"
                  userdata="" />
        <on_check control="RectangleSelectInclusive" />
      </menu_item_check>
      <menu_item_separator />
      <menu_item_check name="Show Hidden Selection"
                       label="Show Hidden Selection">
        <on_click function="Tools.ShowHiddenSelection"
                  userdata="" />
        <on_check control="RenderHiddenSelections" />
      </menu_item_check>
      <menu_item_check name="Show Light Radius for Selection"
                       label="Show Light Radius for Selection">
        <on_click function="Tools.ShowSelectionLightRadius"
                  userdata="" />
        <on_check control="RenderLightRadius" />
      </menu_item_check>
      <menu_item_check label="Show Selection Outlines"
                       name="Show Selection Outlines">
        <on_click function="Tools.ShowSelectionHighlights" userdata="" />
        <on_check control="RenderHighlightSelections" />
      </menu_item_check>
      <menu_item_check name="Show Selection Beam"
                       label="Show Selection Beam">
        <on_click function="ToggleControl"
                  userdata="ShowSelectionBeam" />
        <on_check control="ShowSelectionBeam" />
      </menu_item_check>
    </menu>
    <menu_item_separator />
    <menu_item_check name="Snap to Grid" enabled="false"
                     label="Snap to Grid" shortcut="G">
      <on_click function="ToggleControl"
                userdata="SnapEnabled" />
      <on_check control="SnapEnabled" />
      <on_enable function="Tools.EnableToolNotPie" />
    </menu_item_check>
    <menu_item_call name="Snap Object XY to Grid" enabled="false"
                    label="Snap Object XY to Grid" shortcut="shift|X">
      <on_click function="Tools.SnapObjectXY" userdata="" />
      <on_enable function="Tools.EnableToolNotPie" />
    </menu_item_call>
    <menu_item_call name="Use Selection for Grid" enabled="false"
                    label="Use Selection for Grid" shortcut="shift|G">
      <on_click function="Tools.UseSelectionForGrid" userdata="" />
      <on_enable function="SomethingSelected" />
    </menu_item_call>
    <menu_item_call name="Grid Options..." enabled="false"
                    label="Grid Options..." shortcut="control|shift|B">
      <on_click function="ShowFloater" userdata="grid options" />
      <on_enable function="Tools.EnableToolNotPie" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_check name="Edit Linked Parts" enabled="false"
                     label="Edit Linked Parts" shortcut="">
      <on_click function="ToggleControl" userdata="EditLinkedParts" />
      <on_click function="Tools.EditLinkedParts" userdata="" />
      <on_check control="EditLinkedParts" />
      <on_enable function="Tools.EnableToolNotPie" />
    </menu_item_check>
    <menu_item_call name="Link" enabled="false" label="Link"
                    shortcut="control|L">
      <on_click function="Tools.Link" userdata="" />
      <on_enable function="Tools.EnableLink" />
    </menu_item_call>
    <menu_item_call name="Unlink" enabled="false" label="Unlink"
                    shortcut="control|shift|L">
      <on_click function="Tools.Unlink" userdata="" />
      <on_enable function="Tools.EnableUnlink" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Duplicate" enabled="false"
                    label="Duplicate" shortcut="control|D">
      <on_click function="Edit.Duplicate" userdata="" />
      <on_enable function="Edit.EnableDuplicate" />
    </menu_item_call>
    <menu_item_call name="Menu Object Take" enabled="false"
                    label="Take" visible="false">
      <on_click function="Tools.Take" userdata="" />
      <on_enable function="Tools.EnableTake" />
    </menu_item_call>
    <menu_item_call name="Take Copy" enabled="false"
                    label="Take Copy">
      <on_click function="Tools.TakeCopy" userdata="" />
      <on_enable function="Tools.EnableTakeCopy" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Return..." enabled="false"
                    label="Return Object">
      <on_click function="Object.Return" />
      <on_enable function="Object.EnableReturn" />
    </menu_item_call>
    <menu_item_call name="Save Object Back to My Inventory"
                    enabled="false"
                    label="Save Object Back to My Inventory">
      <on_click function="Tools.SaveToInventory" userdata="" />
      <on_enable function="Tools.EnableSaveToInventory" />
    </menu_item_call>
    <menu_item_call name="Save Object Back to Object Contents"
                    enabled="false"
                    label="Save Object Back to Object Contents">
      <on_click function="Tools.SaveToObjectInventory" userdata="" />
      <on_enable function="Tools.EnableSaveToObjectInventory" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Show Script Warning/Error Window"
                    label="Show Script Warning/Error Window">
      <on_click function="ShowFloater" userdata="script errors" />
    </menu_item_call>
		<menu name="Recompile Scripts in Selection" create_jump_keys="true"
		      label="Recompile Scripts in Selection" opaque="true"
          tear_off="true">
		  <menu_item_call name="Mono" label="Mono">
			  <on_click function="Tools.SelectedScriptAction"
                  userdata="compile mono" />
			  <on_enable function="EditableSelectedMono" />
		  </menu_item_call>
		  <menu_item_call name="LSL" label="LSL">
			  <on_click function="Tools.SelectedScriptAction"
                  userdata="compile lsl" />
			  <on_enable function="EditableSelected" />
		  </menu_item_call>
		</menu>
    <menu_item_call name="Reset Scripts in Selection" enabled="false"
                    label="Reset Scripts in Selection">
      <on_click function="Tools.SelectedScriptAction"
                userdata="reset" />
      <on_enable function="EditableSelected" />
    </menu_item_call>
    <menu_item_call name="Set Scripts to Running in Selection"
                    enabled="false"
                    label="Set Scripts to Running in Selection">
      <on_click function="Tools.SelectedScriptAction"
                userdata="start" />
      <on_enable function="EditableSelected" />
    </menu_item_call>
    <menu_item_call name="Set Scripts to Not Running in Selection"
                    enabled="false"
                    label="Set Scripts to Not Running in Selection">
      <on_click function="Tools.SelectedScriptAction"
                userdata="stop" />
      <on_enable function="EditableSelected" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Set permissions on selected task inventory"
                    enabled="false"
                    label="Bulk Set Permissions">
      <on_click function="Tools.SetBulkPerms" userdata="" />
      <on_enable function="EditableSelected" />
    </menu_item_call>
  </menu>



  <!-- HELP -->

  <menu name="Help" create_jump_keys="true" label="Help"
        opaque="true" tear_off="true">
    <menu_item_call name="Viewer Help" label="Viewer Help"
                    shortcut="F1">
      <on_click function="ShowFloater" userdata="help f1" />
    </menu_item_call>
    <menu_item_call name="Tutorial" label="Tutorial">
      <on_click function="ShowFloater" userdata="help tutorial" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Imprudence Blog..."
                    label="Imprudence Blog...">
      <on_click function="PromptShowURL"
                userdata="WebLaunchImprudenceBlog,http://www.imprudenceviewer.org/" />
    </menu_item_call>
    <menu_item_call name="Imprudence Forums..."
                    label="Imprudence Forums...">
      <on_click function="PromptShowURL"
                userdata="WebLaunchImprudenceForums,http://www.imprudenceviewer.org/forums/" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Scripting Portal..."
                    label="Scripting Portal...">
      <on_click function="PromptShowURL" name="ScriptingPortal_url"
                userdata="WebLaunchLSLWiki,http://wiki.secondlife.com/wiki/LSL_Portal" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="Report Abuse..." label="Report Abuse...">
      <on_click function="ShowFloater"
                userdata="complaint reporter" />
    </menu_item_call>
    <menu_item_call name="Bumps, Pushes &amp;amp; Hits..."
                    label="Bumps, Pushes &amp; Hits...">
      <on_click function="ShowFloater" userdata="mean events" />
    </menu_item_call>
    <menu_item_call name="Lag Meter" label="Lag Meter">
      <on_click function="ShowFloater" userdata="lag meter" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call name="About Imprudence..."
                    label="About Imprudence...">
      <on_click function="ShowFloater" userdata="about" />
    </menu_item_call>
  </menu>



  <!-- ADVANCED -->

  <menu name="Advanced" drop_shadow="true"
        opaque="true" tear_off="true">


    <!-- CONSOLES -->

    <menu name="Consoles" drop_shadow="true"
          opaque="true" tear_off="true">
      <menu_item_check name="Frame Console" label="Frame Console"
                       shortcut="control|shift|2">
        <on_click function="Advanced.ToggleConsole"
                  userdata="frame" />
        <on_check function="Advanced.CheckConsole"
                  userdata="frame" />
      </menu_item_check>
      <menu_item_check name="Texture Console" label="Texture Console"
                       shortcut="control|shift|3">
        <on_click function="Advanced.ToggleConsole"
                  userdata="texture" />
        <on_check function="Advanced.CheckConsole"
                  userdata="texture" />
      </menu_item_check>
      <menu_item_check name="Debug Console" label="Debug Console"
                       shortcut="control|shift|4">
        <on_click function="Advanced.ToggleConsole"
                  userdata="debug" />
        <on_check function="Advanced.CheckConsole"
                  userdata="debug" />
      </menu_item_check>
      <menu_item_check name="Fast Timers" label="Fast Timers"
                       shortcut="control|shift|9">
        <on_click function="Advanced.ToggleConsole"
                  userdata="fast timers" />
        <on_check function="Advanced.CheckConsole"
                  userdata="fast timers" />
      </menu_item_check>
      <!-- Requires compiled-in support, I think?
      <menu_item_check name="Memory" label="Memory"
                       shortcut="control|shift|0">
        <on_click function="Advanced.ToggleConsole"
                  userdata="memory" />
        <on_check function="Advanced.CheckConsole"
                  userdata="memory" />
      </menu_item_check>
      -->
      <menu_item_separator />
      <menu_item_call name="Region Info to Debug Console"
                      label="Region Info to Debug Console">
        <on_click function="Advanced.DumpInfoToConsole"
                  userdata="region" />
      </menu_item_call>
      <menu_item_call name="Group Info to Debug Console"
                      label="Group Info to Debug Console">
        <on_click function="Advanced.DumpInfoToConsole"
                  userdata="group" />
      </menu_item_call>
      <menu_item_call name="Capabilities Info to Debug Console"
                      label="Capabilities Info to Debug Console">
        <on_click function="Advanced.DumpInfoToConsole"
                  userdata="capabilities" />
      </menu_item_call>
    </menu>


    <menu_item_call name="Reload personal setting overrides"
                    label="Reload personal settings overrides"
                    shortcut="control|shift|F2">
      <on_click function="Advanced.ReloadSettingsOverrides" userdata="" />
    </menu_item_call>



    <!-- HUD INFO -->

    <menu name="HUD Info" drop_shadow="true"
          opaque="true" tear_off="true">
      <menu_item_check name="Velocity" label="Velocity">
        <on_click function="Advanced.ToggleHUDInfo"
                  userdata="velocity" />
        <on_check function="Advanced.CheckHUDInfo"
                  userdata="velocity" />
      </menu_item_check>
      <menu_item_check name="Camera" label="Camera">
        <on_click function="Advanced.ToggleHUDInfo"
                  userdata="camera" />
        <on_check function="Advanced.CheckHUDInfo"
                  userdata="camera" />
      </menu_item_check>
      <menu_item_check name="Wind" label="Wind">
        <on_click function="Advanced.ToggleHUDInfo"
                  userdata="wind" />
        <on_check function="Advanced.CheckHUDInfo"
                  userdata="wind" />
      </menu_item_check>
      <menu_item_check name="FOV" label="FOV">
        <on_click function="Advanced.ToggleHUDInfo"
                  userdata="fov" />
        <on_check function="Advanced.CheckHUDInfo"
                  userdata="fov" />
      </menu_item_check>
    </menu>


    <menu_item_separator />


    <menu_item_check name="Quiet Snapshots to Disk"
                     label="Quiet Snapshots to Disk">
      <on_click function="ToggleControl"
                userdata="QuietSnapshotsToDisk" />
      <on_check control="QuietSnapshotsToDisk" />
    </menu_item_check>
    <menu_item_call label="Ground Sit" name="Ground Sit" 
                    shortcut="control|alt|s">
      <on_click function="Advanced.ToggleSit" userdata="" />
      <on_Check function="Advanced.CheckSit" userdata="" />
    </menu_item_call>
    <menu_item_check label="Phantom Avatar" name="Phantom" 
                     shortcut="control|alt|p">
      <on_click function="Advanced.TogglePhantom" userdata="" />
      <on_check function="Advanced.CheckPhantom" userdata="" />
    </menu_item_check>
    <menu_item_check label="Animation List" name="Animation List">
      <on_click function="ShowFloater" userdata="animation list" />
      <on_check function="FloaterVisible" userdata="animation list" />
    </menu_item_check>
    <menu_item_check label="Asset Browser" name="asset browser" 
                     shortcut="alt|shift|a">
      <on_click function="Advanced.ToggleAssetBrowser" userdata="" />
      <on_check function="Advanced.CheckAssetBrowser" userdata="" />
    </menu_item_check>
    <menu_item_check name="Show Mouselook Crosshairs"
                     label="Show Mouselook Crosshairs">
      <on_click function="ToggleControl"
                userdata="ShowCrosshairs" />
      <on_check control="ShowCrosshairs" />
    </menu_item_check>
    <menu_item_check name="Debug Permissions"
                     label="Debug Permissions">
      <on_click function="ToggleControl"
                userdata="DebugPermissions" />
      <on_check control="DebugPermissions" />
    </menu_item_check>
    <menu_item_call name="Clear Group Cache"
                    label="Clear Group Cache">
      <on_click function="Advanced.ClearGroupCache"
                userdata="" />
    </menu_item_call>
    <menu_item_separator />



    <!-- RENDERING -->

    <menu name="Rendering" drop_shadow="true"
          opaque="true" tear_off="true">

      <!-- TYPES -->
      <menu name="Types" drop_shadow="true"
            opaque="true" tear_off="true">
        <menu_item_check name="Simple" label="Simple"
                         shortcut="control|alt|shift|1">
          <on_click function="Advanced.ToggleRenderType"
                    userdata="simple" />
          <on_check function="Advanced.CheckRenderType"
                    userdata="simple" />
        </menu_item_check>
        <menu_item_check name="Alpha" label="Alpha"
                         shortcut="control|alt|shift|2">
          <on_click function="Advanced.ToggleRenderType"
                    userdata="alpha" />
          <on_check function="Advanced.CheckRenderType"
                    userdata="alpha" />
        </menu_item_check>
        <menu_item_check name="Tree" label="Tree"
                         shortcut="control|alt|shift|3">
          <on_click function="Advanced.ToggleRenderType"
                    userdata="tree" />
          <on_check function="Advanced.CheckRenderType"
                    userdata="tree" />
        </menu_item_check>
        <menu_item_check name="Character" label="Character"
                         shortcut="control|alt|shift|4">
          <on_click function="Advanced.ToggleRenderType"
                    userdata="avatar" />
          <on_check function="Advanced.CheckRenderType"
                    userdata="avatar" />
        </menu_item_check>
        <menu_item_check name="SurfacePatch" label="SurfacePatch"
                         shortcut="control|alt|shift|5">
          <on_click function="Advanced.ToggleRenderType"
                    userdata="terrain" />
          <on_check function="Advanced.CheckRenderType"
                    userdata="terrain" />
        </menu_item_check>
        <menu_item_check name="Sky" label="Sky"
                         shortcut="control|alt|shift|6">
          <on_click function="Advanced.ToggleRenderType"
                    userdata="sky" />
          <on_check function="Advanced.CheckRenderType"
                    userdata="sky" />
        </menu_item_check>
        <menu_item_check name="Water" label="Water"
                         shortcut="control|alt|shift|7">
          <on_click function="Advanced.ToggleRenderType"
                    userdata="water" />
          <on_check function="Advanced.CheckRenderType"
                    userdata="water" />
        </menu_item_check>
        <menu_item_check name="Ground" label="Ground"
                         shortcut="control|alt|shift|8">
          <on_click function="Advanced.ToggleRenderType"
                    userdata="ground" />
          <on_check function="Advanced.CheckRenderType"
                    userdata="ground" />
        </menu_item_check>
        <menu_item_check name="Volume" label="Volume"
                         shortcut="control|alt|shift|9">
          <on_click function="Advanced.ToggleRenderType"
                    userdata="volume" />
          <on_check function="Advanced.CheckRenderType"
                    userdata="volume" />
        </menu_item_check>
        <menu_item_check name="Grass" label="Grass"
                         shortcut="control|alt|shift|0">
          <on_click function="Advanced.ToggleRenderType"
                    userdata="grass" />
          <on_check function="Advanced.CheckRenderType"
                    userdata="grass" />
        </menu_item_check>
        <menu_item_check name="Clouds" label="Clouds"
                         shortcut="control|alt|shift|-">
          <on_click function="Advanced.ToggleRenderType"
                    userdata="clouds" />
          <on_check function="Advanced.CheckRenderType"
                    userdata="clouds" />
        </menu_item_check>
        <menu_item_check name="Particles" label="Particles"
                         shortcut="control|alt|shift|=">
          <on_click function="Advanced.ToggleRenderType"
                    userdata="particles" />
          <on_check function="Advanced.CheckRenderType"
                    userdata="particles" />
        </menu_item_check>
        <menu_item_check name="Bump" label="Bump"
                         shortcut="control|alt|shift|\">
          <on_click function="Advanced.ToggleRenderType"
                    userdata="bump" />
          <on_check function="Advanced.CheckRenderType"
                    userdata="bump" />
        </menu_item_check>
      </menu>


      <!-- FEATURES -->
      <menu name="Features" drop_shadow="true"
            opaque="true" tear_off="true">
        <menu_item_check name="UI" label="UI"
                         shortcut="alt|shift|F1">
          <on_click function="Advanced.ToggleFeature"
                    userdata="ui" />
          <on_check function="Advanced.CheckFeature"
                    userdata="ui" />
        </menu_item_check>
        <menu_item_check name="Selected" label="Selected"
                         shortcut="alt|shift|F2">
          <on_click function="Advanced.ToggleFeature"
                    userdata="selected" />
          <on_check function="Advanced.CheckFeature"
                    userdata="selected" />
        </menu_item_check>
        <menu_item_check name="Highlighted" label="Highlighted"
                         shortcut="alt|shift|F3">
          <on_click function="Advanced.ToggleFeature"
                    userdata="highlighted" />
          <on_check function="Advanced.CheckFeature"
                    userdata="highlighted" />
        </menu_item_check>
        <menu_item_check name="Dynamic Textures" label="Dynamic Textures"
                         shortcut="alt|shift|F4">
          <on_click function="Advanced.ToggleFeature"
                    userdata="dynamic textures" />
          <on_check function="Advanced.CheckFeature"
                    userdata="dynamic textures" />
        </menu_item_check>
        <menu_item_check name="Foot Shadows" label="Foot Shadows"
                         shortcut="alt|shift|F5">
          <on_click function="Advanced.ToggleFeature"
                    userdata="foot shadows" />
          <on_check function="Advanced.CheckFeature"
                    userdata="foot shadows" />
        </menu_item_check>
        <menu_item_check name="Fog" label="Fog"
                         shortcut="alt|shift|F6">
          <on_click function="Advanced.ToggleFeature"
                    userdata="fog" />
          <on_check function="Advanced.CheckFeature"
                    userdata="fog" />
        </menu_item_check>
        <menu_item_check name="Test FRInfo" label="Test FRInfo"
                         shortcut="alt|shift|F8">
          <on_click function="Advanced.ToggleFeature"
                    userdata="fr info" />
          <on_check function="Advanced.CheckFeature"
                    userdata="fr info" />
        </menu_item_check>
        <menu_item_check name="Flexible Objects"
                         label="Flexible Objects"
                         shortcut="alt|shift|F9">
          <on_click function="Advanced.ToggleFeature"
                    userdata="flexible" />
          <on_check function="Advanced.CheckFeature"
                    userdata="flexible" />
        </menu_item_check>
      </menu>


      <!-- INFO DISPLAYS -->
      <menu name="Info Displays" drop_shadow="true"
            opaque="true" tear_off="true">
        <menu_item_check name="Verify" label="Verify">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="verify" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="verify" />
        </menu_item_check>
        <menu_item_check name="BBoxes" label="BBoxes">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="bboxes" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="bboxes" />
        </menu_item_check>
        <menu_item_check name="Points" label="Points">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="points" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="points" />
        </menu_item_check>
        <menu_item_check name="Octree" label="Octree">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="octree" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="octree" />
        </menu_item_check>
        <menu_item_check name="Occlusion" label="Occlusion">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="occlusion" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="occlusion" />
        </menu_item_check>
        <menu_item_check name="Render Batches"
                         label="Render Batches">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="render batches" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="render batches" />
        </menu_item_check>
        <menu_item_check name="Animated Textures"
                         label="Animated Textures">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="texture anim" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="texture anim" />
        </menu_item_check>
        <menu_item_check name="Texture Priority"
                         label="Texture Priority">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="texture priority" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="texture priority" />
        </menu_item_check>
        <menu_item_check name="Avatar Rendering Cost"
                         label="Avatar Rendering Cost">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="shame" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="shame" />
        </menu_item_check>
        <menu_item_check name="Texture Area (sqrt(A))"
                         label="Texture Area (sqrt(A))">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="texture area" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="texture area" />
        </menu_item_check>
        <menu_item_check name="Face Area (sqrt(A))"
                         label="Face Area (sqrt(A))">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="face area" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="face area" />
        </menu_item_check>
        <menu_item_check name="Pick Render" label="Pick Render">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="picking" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="picking" />
        </menu_item_check>
        <menu_item_check name="Lights" label="Lights">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="lights" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="lights" />
        </menu_item_check>
        <menu_item_check name="Particles" label="Particles">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="particles" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="particles" />
        </menu_item_check>
        <menu_item_check name="Composition"
                         label="Composition">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="composition" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="composition" />
        </menu_item_check>
        <menu_item_check name="Glow" label="Glow">
          <on_click function="Advanced.ToggleInfoDisplay"
                    userdata="glow" />
          <on_check function="Advanced.CheckInfoDisplay"
                    userdata="glow" />
        </menu_item_check>
        <menu_item_check name="Vectorize Perf Test"
                         label="Vectorize Perf Test">
          <on_click function="ToggleControl"
                    userdata="VectorizePerfTest" />
          <on_check control="VectorizePerfTest" />
        </menu_item_check>
      </menu>


      <!-- RENDER TESTS -->
      <menu name="Render Tests" drop_shadow="true"
            opaque="true" tear_off="true">
        <menu_item_check name="Camera Offset" label="Camera Offset">
          <on_click function="ToggleControl"
                    userdata="CameraOffset" />
          <on_check control="CameraOffset" />
        </menu_item_check>
        <menu_item_check name="Randomize Framerate"
                         label="Randomize Framerate">
          <on_click function="Advanced.ToggleRandomizeFramerate"
                    userdata="" />
          <on_check function="Advanced.CheckRandomizeFramerate"
                    userdata="" />
        </menu_item_check>
        <menu_item_check name="Periodic Slow Frame"
                         label="Periodic Slow Frame">
          <on_click function="Advanced.TogglePeriodicSlowFrame"
                    userdata="" />
          <on_check function="Advanced.CheckPeriodicSlowFrame"
                    userdata="" />
        </menu_item_check>
        <menu_item_check name="Frame Test" label="Frame Test">
          <on_click function="Advanced.ToggleFrameTest"
                    userdata="" />
          <on_check function="Advanced.CheckFrameTest"
                    userdata="" />
        </menu_item_check>
      </menu>


      <menu_item_separator />

      <menu_item_check name="Axes" label="Axes">
        <on_click function="ToggleControl" userdata="ShowAxes" />
        <on_check control="ShowAxes" />
      </menu_item_check>

      <menu_item_separator />

      <menu_item_check name="Hide Selected" label="Hide Selected">
        <on_click function="Advanced.ToggleHideSelectedObjects"
                  userdata="" />
        <on_check function="Advanced.CheckHideSelectedObjects"
                  userdata="" />
      </menu_item_check>

      <menu_item_separator />

      <menu_item_check name="Tangent Basis" label="Tangent Basis">
        <on_click function="ToggleControl"
                  userdata="ShowTangentBasis" />
        <on_check control="ShowTangentBasis" />
      </menu_item_check>
      <menu_item_call name="Selected Texture Info"
                      label="Selected Texture Info"
                      shortcut="control|alt|shift|T">
        <on_click function="Advanced.SelectedTextureInfo"
                  userdata="" />
      </menu_item_call>
      <menu_item_check name="Wireframe" label="Wireframe"
                       shortcut="control|shift|R">
        <on_click function="Advanced.ToggleWireframe" userdata="" />
        <on_check function="Advanced.CheckWireframe" userdata="" />
      </menu_item_check>
      <menu_item_check name="Object-Object Occlusion"
                       label="Object-Object Occlusion"
                       shortcut="control|shift|O">
        <on_click function="ToggleControl"
                  userdata="UseOcclusion" />
        <on_check control="UseOcclusion" />
      </menu_item_check>
      <menu_item_check name="Debug GL" label="Debug GL">
        <on_click function="ToggleControl"
                  userdata="RenderDebugGL" />
        <on_check control="RenderDebugGL" />
      </menu_item_check>
      <menu_item_check name="Debug Pipeline" label="Debug Pipeline">
        <on_click function="ToggleControl"
                  userdata="RenderDebugPipeline" />
        <on_check control="RenderDebugPipeline" />
      </menu_item_check>
      <menu_item_check name="Fast Alpha" label="Fast Alpha">
        <on_click function="ToggleControl"
                  userdata="RenderFastAlpha" />
        <on_check control="RenderFastAlpha" />
      </menu_item_check>
      <menu_item_check name="Animate Textures"
                       label="Animate Textures">
        <on_click function="ToggleControl"
                  userdata="AnimateTextures" />
        <on_check control="AnimateTextures" />
      </menu_item_check>
      <menu_item_check name="Disable Textures"
                       label="Disable Textures">
        <on_click function="Advanced.ToggleDisableTextures"
                  userdata="" />
        <on_check function="Advanced.CheckDisableTextures"
                  userdata="" />
      </menu_item_check>
      <!-- Disabled because it doesn't seem to be used anymore.
      <menu_item_check name="HTTP Get Textures"
                       label="HTTP Get Textures">
        <on_click function="ToggleControl"
                  userdata="ImagePipelineUseHTTP" />
        <on_check control="ImagePipelineUseHTTP" />
      </menu_item_check>
      -->
      <menu_item_check name="Run Multiple Threads"
                       label="Run Multiple Threads">
        <on_click function="ToggleControl"
                  userdata="RunMultipleThreads" />
        <on_check control="RunMultipleThreads" />
      </menu_item_check>
      <!-- Disabled because it doesn't work very well?
      <menu_item_check name="Dynamic Reflections"
                       label="Dynamic Reflections">
        <on_click function="ToggleControl"
                  userdata="RenderDynamicReflections" />
        <on_check control="RenderDynamicReflections" />
      </menu_item_check>
      -->
      <menu_item_check name="Cheesy Beacon" label="Cheesy Beacon">
        <on_click function="ToggleControl"
                  userdata="CheesyBeacon" />
        <on_check control="CheesyBeacon" />
      </menu_item_check>
      <menu_item_check name="Attached Lights" label="Attached Lights">
        <on_click function="ToggleRenderAttachedLights" />
        <on_check control="RenderAttachedLights" />
      </menu_item_check>
      <menu_item_check name="Attached Particles" label="Attached Particles">
        <on_click function="ToggleRenderAttachedParticles" />
        <on_check control="RenderAttachedParticles" />
      </menu_item_check>
    </menu>



    <!-- WORLD -->

    <menu name="World" drop_shadow="true"
          opaque="true" tear_off="true">
      <!-- Disabled because you can't do this in Windlight.
      <menu_item_check name="Mouse Moves Sun"
                       label="Mouse Moves Sun"
                       shortcut="control|alt|M">
        <on_click function="ToggleControl" userdata="MouseSun" />
        <on_check control="MouseSun" />
      </menu_item_check>
      -->
      <menu_item_check name="Sim Sun Override"
                       label="Sim Sun Override">
        <on_click function="ToggleControl"
                  userdata="SkyOverrideSimSunPosition" />
        <on_check control="SkyOverrideSimSunPosition" />
      </menu_item_check>
      <menu_item_call name="Dump Scripted Camera"
                      label="Dump Scripted Camera">
        <on_click function="Advanced.DumpScriptedCamera"
                  userdata="" />
      </menu_item_call>
      <menu_item_check name="Fixed Weather" label="Fixed Weather">
        <on_click function="ToggleControl"
                  userdata="FixedWeather" />
        <on_check control="FixedWeather" />
      </menu_item_check>
      <menu_item_call name="Dump Region Object Cache"
                      label="Dump Region Object Cache">
        <on_click function="Advanced.DumpRegionObjectCache"
                  userdata="" />
      </menu_item_call>
    </menu>


    <!-- RLVa -->

    <menu name="RLVa" drop_shadow="true" opaque="true" tear_off="true">

      <menu name="Debug" drop_shadow="true" opaque="true" tear_off="true">

        <menu_item_check name="Show Debug Messages"
                         label="Show Debug Messages">
          <on_click function="ToggleControl" userdata="RestrainedLifeDebug" />
          <on_check control="RestrainedLifeDebug" />
        </menu_item_check>

        <menu_item_separator />

        <menu_item_check name="Enable Legacy Naming"
                         label="Enable Legacy Naming">
          <on_click function="ToggleControl" userdata="RLVaEnableLegacyNaming" />
          <on_check control="RLVaEnableLegacyNaming" />
        </menu_item_check>

      </menu>

      <menu_item_separator />

      <menu_item_check name="Enable Wear" label="Enable Wear">
        <on_click function="ToggleControl" userdata="RLVaEnableWear" />
        <on_check control="RLVaEnableWear" />
      </menu_item_check>

      <menu_item_separator />

      <menu_item_check name="Hide locked layers" label="Hide locked layers">
        <on_click function="ToggleControl" userdata="RLVaHideLockedLayers" />
        <on_check control="RLVaHideLockedLayers" />
      </menu_item_check>
      
      <menu_item_check name="Hide locked attachments"
                       label="Hide locked attachments">
        <on_click function="ToggleControl"
                  userdata="RLVaHideLockedAttachments" />
        <on_check control="RLVaHideLockedAttachments" />
      </menu_item_check>
      
      <!--
      <menu_item_check name="Hide locked inventory"
                       label="Hide locked inventory">
        <on_click function="ToggleControl"
                  userdata="RLVaHideLockedInventory" />
        <on_check control="RLVaHideLockedInventory" />
      </menu_item_check>
      -->

      <menu_item_separator />

      <menu_item_check name="Forbid Give to #RLV" label="Forbid Give to #RLV">
        <on_click function="ToggleControl"
                  userdata="RestrainedLifeForbidGiveToRLV" />
        <on_check control="RestrainedLifeForbidGiveToRLV" />
      </menu_item_check>

      <menu_item_check name="Show Name Tags" label="Show Name Tags">
        <on_click function="ToggleControl"
                  userdata="RLVaShowNameTags" />
        <on_check control="RLVaShowNameTags" />
      </menu_item_check>

      <menu_item_separator />

      <menu_item_call name="Restrictions..." label="Restrictions...">
        <on_click function="RLVa.Behaviors.Show" userdata="" />
      </menu_item_call>

    </menu>


    <!-- UI -->

    <menu name="UI" drop_shadow="true"
          opaque="true" tear_off="true">

      <menu_item_call name="SLURL Test" label="SLURL Test">
        <on_click function="Advanced.SLURLTest" userdata="" />
      </menu_item_call>

      <!--
           *TODO: Make this a proper toggle item with the "X" indicator.
           1. Add a "Advanced.CheckEditableUI" function in llviewermenu.cpp.
           2. Change this surrounding menu_item_call to a menu_item_check.
           3. Uncomment the "on_check" line below.
        -->
      <menu_item_call name="Editable UI" label="Editable UI">
        <on_click function="Advanced.ToggleEditableUI" userdata="" />
        <!--
        <on_check function="Advanced.CheckEditableUI" userdata="" />
        -->
      </menu_item_call>

      <menu_item_call name="Dump SelectMgr" label="Dump SelectMgr">
        <on_click function="Advanced.DumpSelectMgr" userdata="" />
      </menu_item_call>
      <menu_item_call name="Dump Inventory" label="Dump Inventory">
        <on_click function="Advanced.DumpInventory" userdata="" />
      </menu_item_call>
      <menu_item_call name="Dump Focus Holder"
                      label="Dump Focus Holder"
                      shortcut="control|alt|F">
        <on_click function="Advanced.DumpFocusHolder" userdata="" />
      </menu_item_call>
      <menu_item_call name="Print Selected Object Info"
                      label="Print Selected Object Info"
                      shortcut="control|shift|P">
        <on_click function="Advanced.PrintSelectedObjectInfo"
                  userdata="" />
      </menu_item_call>
      <menu_item_call name="Print Agent Info"
                      label="Print Agent Info" shortcut="shift|P">
        <on_click function="Advanced.PrintAgentInfo" userdata="" />
      </menu_item_call>
      <menu_item_call name="Memory Stats" label="Memory Stats"
                      shortcut="control|alt|shift|M">
        <on_click function="Advanced.PrintTextureMemoryStats"
                  userdata="" />
      </menu_item_call>
      <menu_item_check name="Double-Click Auto-Pilot"
                       label="Double-Click Auto-Pilot">
        <on_click function="ToggleControl"
                  userdata="DoubleClickAutoPilot" />
        <on_check control="DoubleClickAutoPilot" />
      </menu_item_check>
      <menu_item_separator />
      <menu_item_check name="Debug SelectMgr"
                       label="Debug SelectMgr">
        <on_click function="Advanced.ToggleDebugSelectMgr"
                  userdata="" />
        <on_check function="Advanced.CheckDebugSelectMgr"
                  userdata="" />
      </menu_item_check>
      <menu_item_check name="Debug Clicks"
                       label="Debug Click">
        <on_click function="Advanced.ToggleDebugClicks"
                  userdata="" />
        <on_check function="Advanced.CheckDebugClicks"
                  userdata="" />
      </menu_item_check>
      <menu_item_check name="Debug Views"
                       label="Debug Views">
        <on_click function="Advanced.ToggleDebugViews"
                  userdata="" />
        <on_check function="Advanced.CheckDebugViews"
                  userdata="" />
      </menu_item_check>
      <menu_item_check name="Show Name Tooltips"
                       label="Show Name Tooltips">
        <on_click function="Advanced.ToggleXUINameTooltips"
                  userdata="" />
        <on_check function="Advanced.CheckXUINameTooltips"
                  userdata="" />
      </menu_item_check>
      <menu_item_check name="Debug Mouse Events"
                       label="Debug Mouse Events">
        <on_click function="Advanced.ToggleDebugMouseEvents"
                  userdata="" />
        <on_check function="Advanced.CheckDebugMouseEvents"
                  userdata="" />
      </menu_item_check>
      <menu_item_check name="Debug Keys"
                       label="Debug Keys">
        <on_click function="Advanced.ToggleDebugKeys"
                  userdata="" />
        <on_check function="Advanced.CheckDebugKeys"
                  userdata="" />
      </menu_item_check>
      <menu_item_check name="Debug WindowProc"
                       label="Debug WindowProc">
        <on_click function="Advanced.ToggleDebugWindowProc"
                  userdata="" />
        <on_check function="Advanced.CheckDebugWindowProc"
                  userdata="" />
      </menu_item_check>
      <menu_item_check name="Debug Text Editor Tips"
                       label="Debug Text Editor Tips">
        <on_click function="Advanced.ToggleDebugTextEditorTips"
                  userdata="" />
        <on_check function="Advanced.CheckDebugTextEditorTips"
                  userdata="" />
      </menu_item_check>
      <menu_item_separator />
      <menu_item_check name="Show Time"
                       label="Show Time">
        <on_click function="ToggleControl"
                  userdata="DebugShowTime" />
        <on_check control="DebugShowTime" />
      </menu_item_check>
      <menu_item_check name="Show Render Info"
                       label="Show Render Info">
        <on_click function="ToggleControl"
                  userdata="DebugShowRenderInfo" />
        <on_check control="DebugShowRenderInfo" />
      </menu_item_check>
      <menu_item_check name="Show Color Under Cursor"
                       label="Show Color Under Cursor">
        <on_click function="ToggleControl"
                  userdata="DebugShowColor" />
        <on_check control="DebugShowColor" />
      </menu_item_check>
    </menu>



    <!-- XUI -->

    <menu name="XUI" drop_shadow="true"
          opaque="true" tear_off="true">
      <menu_item_call name="Floater Test..."
                      label="Floater Test...">
        <on_click function="Advanced.ShowFloaterTest"
                  userdata="" />
      </menu_item_call>
      <menu_item_call name="Export Menus to XML..."
                      label="Export Menus to XML...">
        <on_click function="Advanced.ExportMenusToXML"
                  userdata="" />
      </menu_item_call>
      <menu_item_call name="Edit UI..."
                      label="Edit UI...">
        <on_click function="Advanced.EditUI"
                  userdata="" />
      </menu_item_call>
      <menu_item_call name="Load from XML..."
                      label="Load from XML...">
        <on_click function="Advanced.LoadUIFromXML"
                  userdata="" />
      </menu_item_call>
      <menu_item_call name="Save to XML..."
                      label="Save to XML...">
        <on_click function="Advanced.SaveUIToXML"
                  userdata="" />
      </menu_item_call>
      <menu_item_check name="Show XUI Names"
                       label="Show XUI Names"
                       shortcut="">
        <on_click function="Advanced.ToggleXUINames"
                  userdata="" />
        <on_check function="Advanced.CheckXUINames"
                  userdata="" />
      </menu_item_check>
    </menu>



    <!-- CHARACTER -->

    <menu name="Character" drop_shadow="true"
          opaque="true" tear_off="true">

      <menu name="Grab Baked Texture" drop_shadow="true"
            opaque="true" tear_off="true">

        <menu_item_call name="Iris" enabled="false"
                        label="Iris">
          <on_click function="Advanced.GrabBakedTexture"
                    userdata="eyes" />
          <on_enable function="Advanced.EnableGrabBakedTexture"
                     userdata="eyes" />
        </menu_item_call>
        <menu_item_call name="Head" enabled="false"
                        label="Head">
          <on_click function="Advanced.GrabBakedTexture"
                    userdata="head" />
          <on_enable function="Advanced.EnableGrabBakedTexture"
                     userdata="head" />
        </menu_item_call>
        <menu_item_call name="Upper Body" enabled="false"
                        label="Upper Body">
          <on_click function="Advanced.GrabBakedTexture"
                    userdata="upper" />
          <on_enable function="Advanced.EnableGrabBakedTexture"
                     userdata="upper" />
        </menu_item_call>
        <menu_item_call name="Lower Body" enabled="false"
                        label="Lower Body">
          <on_click function="Advanced.GrabBakedTexture"
                    userdata="lower" />
          <on_enable function="Advanced.EnableGrabBakedTexture"
                     userdata="lower" />
        </menu_item_call>
        <menu_item_call name="Skirt" enabled="false"
                        label="Skirt">
          <on_click function="Advanced.GrabBakedTexture"
                    userdata="skirt" />
          <on_enable function="Advanced.EnableGrabBakedTexture"
                     userdata="skirt" />
        </menu_item_call>
      </menu>

      <!-- CHARACTER TESTS -->
      <menu name="Character Tests" drop_shadow="true"
            opaque="true" tear_off="true">
        <menu_item_check name="Go Away/AFK When Idle"
                         label="Go Away/AFK When Idle">
          <on_click function="Advanced.ToggleAllowIdleAFK"
                    userdata="" />
          <on_check function="Advanced.CheckAllowIdleAFK"
                    userdata="" />
        </menu_item_check>
        <menu_item_call name="Appearance To XML"
                        label="Appearance To XML">
          <on_click function="Advanced.ToggleAppearanceToXML"
                    userdata="" />
        </menu_item_call>
        <menu_item_call name="Toggle Character Geometry"
                        enabled="false"
                        label="Toggle Character Geometry">
          <on_click function="Advanced.ToggleCharacterGeometry"
                    userdata="" />
          <on_enable function="EnableGodCustomerService"
                     userdata="" />
        </menu_item_call>
        <menu_item_call name="Test Male" label="Test Male">
          <on_click function="Advanced.TestMale" userdata="" />
        </menu_item_call>
        <menu_item_call name="Test Female" label="Test Female">
          <on_click function="Advanced.TestFemale" userdata="" />
        </menu_item_call>
        <menu_item_call name="Toggle PG" label="Toggle PG">
          <on_click function="Advanced.TogglePG" userdata="" />
        </menu_item_call>
        <menu_item_check name="Allow Select Avatar"
                         label="Allow Select Avatar">
          <on_click function="Advanced.ToggleAllowSelectAvatar"
                    userdata="" />
          <on_check function="Advanced.CheckAllowSelectAvatar"
                    userdata="" />
        </menu_item_check>
      </menu>

      <menu_item_check name="Enable Lip Sync (Beta)"
                       label="Enable Lip Sync (Beta)">
        <on_click function="ToggleControl"
                  userdata="LipSyncEnabled" />
        <on_check control="LipSyncEnabled" />
      </menu_item_check>
      <menu_item_check name="Tap-Tap-Hold To Run"
                       label="Tap-Tap-Hold To Run">
        <on_click function="Advanced.ToggleAllowTapTapHoldRun"
                  userdata="" />
        <on_check function="Advanced.CheckAllowTapTapHoldRun"
                  userdata="" />
      </menu_item_check>
      <menu_item_call name="Force Params to Default"
                      label="Force Params to Default">
        <on_click function="Advanced.ForceParamsToDefault"
                  userdata="" />
      </menu_item_call>
      <menu_item_call name="Reload Vertex Shader"
                      label="Reload Vertex Shader">
        <on_click function="Advanced.ReloadVertexShader"
                  userdata="" />
      </menu_item_call>
      <menu_item_check label="Animation Info"
                       name="Animation Info">
        <on_click function="Advanced.ToggleAnimationInfo"
                  userdata="" />
        <on_check function="Advanced.CheckAnimationInfo"
                  userdata="" />
      </menu_item_check>

      <!--
           *TODO: Make this a proper toggle item with the "X" indicator.
           1. Add a "Advanced.CheckSlowmotionAnimation" function in
           llviewermenu.cpp.
           2. Change this surrounding menu_item_call to a menu_item_check.
           3. Uncomment the "on_check" line below.
      -->
      <menu_item_call name="Slow Motion Animations"
                      label="Slow Motion Animations">
        <on_click function="Advanced.ToggleSlowMotionAnimations"
                  userdata="" />
        <!--
        <on_check function="Advanced.CheckSlowMotionAnimations"
                  userdata="" />
        -->
      </menu_item_call>

      <menu_item_check name="Show Look At"
                       label="Show Look At">
        <on_click function="Advanced.ToggleShowLookAt"
                  userdata="" />
        <on_check function="Advanced.CheckShowLookAt"
                  userdata="" />
      </menu_item_check>
      <menu_item_check name="Show Point At"
                       label="Show Point At">
        <on_click function="Advanced.ToggleShowPointAt"
                  userdata="" />
        <on_check function="Advanced.CheckShowPointAt"
                  userdata="" />
      </menu_item_check>
      <menu_item_check name="Debug Joint Updates"
                       label="Debug Joint Updates">
        <on_click function="Advanced.ToggleDebugJointUpdates"
                  userdata="" />
        <on_check function="Advanced.CheckDebugJointUpdates"
                  userdata="" />
      </menu_item_check>
      <menu_item_check name="Disable LOD"
                       label="Disable LOD">
        <on_click function="Advanced.ToggleDisableLOD"
                  userdata="" />
        <on_check function="Advanced.CheckDisableLOD"
                  userdata="" />
      </menu_item_check>
      <menu_item_check name="Debug Character Vis"
                       label="Debug Character Vis">
        <on_click function="Advanced.ToggleDebugCharacterVis"
                  userdata="" />
        <on_check function="Advanced.CheckDebugCharacterVis"
                  userdata="" />
      </menu_item_check>

      <!--  Disabled. See DEV-14477
      <menu_item_check name="Show Collision Plane"
                       label="Show Collision Plane">
        <on_click function="Advanced.ToggleShowCollisionPlane"
                  userdata="" />
        <on_check function="Advanced.CheckShowCollisionPlane"
                  userdata="" />
      </menu_item_check>
      -->

      <menu_item_check name="Show Collision Skeleton"
                       label="Show Collision Skeleton">
        <on_click function="Advanced.ToggleShowCollisionSkeleton"
                  userdata="" />
        <on_check function="Advanced.CheckShowCollisionSkeleton"
                  userdata="" />
      </menu_item_check>
      <menu_item_check name="Display Agent Target"
                       label="Display Agent Target">
        <on_click function="Advanced.ToggleDisplayAgentTarget"
                  userdata="" />
        <on_check function="Advanced.CheckDisplayAgentTarget"
                  userdata="" />
      </menu_item_check>
      <menu_item_check name="Debug Rotation"
                       label="Debug Rotation">
        <on_click function="Advanced.ToggleDebugAvatarRotation"
                  userdata="" />
        <on_check function="Advanced.CheckDebugAvatarRotation"
                  userdata="" />
      </menu_item_check>
      <menu_item_call name="Dump Attachments"
                      label="Dump Attachments">
        <on_click function="Advanced.DumpAttachments"
                  userdata="" />
      </menu_item_call>
    </menu>



    <!-- NETWORK -->

    <menu name="Network" drop_shadow="true"
          opaque="true" tear_off="true">
      <menu_item_call name="Enable Message Log"
                      label="Enable Message Log">
        <on_click function="Advanced.EnableMessageLog"
                  userdata="" />
      </menu_item_call>
      <menu_item_call name="Disable Message Log"
                      label="Disable Message Log">
        <on_click function="Advanced.DisableMessageLog"
                  userdata="" />
      </menu_item_call>
      <menu_item_separator />
      <menu_item_check name="Velocity Interpolate Objects"
                       label="Velocity Interpolate Objects">
        <on_click function="ToggleControl"
                  userdata="VelocityInterpolate" />
        <on_check control="VelocityInterpolate" />
      </menu_item_check>
      <menu_item_check name="Ping Interpolate Object Positions"
                       label="Ping Interpolate Object Positions">
        <on_click function="ToggleControl"
                  userdata="PingInterpolate" />
        <on_check control="PingInterpolate" />
      </menu_item_check>
      <menu_item_separator />
      <menu_item_call name="Drop a Packet" label="Drop a Packet"
                      shortcut="control|alt|L">
        <on_click function="Advanced.DropPacket"
                  userdata="" />
      </menu_item_call>
    </menu>



    <!-- RECORDER -->

    <menu name="Recorder" drop_shadow="true"
          opaque="true" tear_off="true">
      <menu_item_check name="Full Session Logging"
                       label="Full Session Logging">
        <on_click function="ToggleControl"
                  userdata="StatsSessionTrackFrameStats" />
        <on_check control="StatsSessionTrackFrameStats" />
      </menu_item_check>
      <menu_item_call name="Start Logging" label="Start Logging">
        <on_click function="Advanced.FrameStatsLogging"
                  userdata="start logging" />
      </menu_item_call>
      <menu_item_call name="Stop Logging" label="Stop Logging">
        <on_click function="Advanced.FrameStatsLogging"
                  userdata="stop logging" />
      </menu_item_call>
      <menu_item_call name="Log 10 Seconds" label="Log 10 Seconds">
        <on_click function="Advanced.FrameStatsLogging"
                  userdata="timed logging 10" />
      </menu_item_call>
      <menu_item_call name="Log 30 Seconds" label="Log 30 Seconds">
        <on_click function="Advanced.FrameStatsLogging"
                  userdata="timed logging 30" />
      </menu_item_call>
      <menu_item_call name="Log 60 Seconds" label="Log 60 Seconds">
        <on_click function="Advanced.FrameStatsLogging"
                  userdata="timed logging 60" />
      </menu_item_call>

      <menu_item_separator />

      <menu_item_call name="Start Playback" label="Start Playback">
        <on_click function="Advanced.AgentPilot"
                  userdata="start playback" />
      </menu_item_call>
      <menu_item_call name="Stop Playback" label="Stop Playback">
        <on_click function="Advanced.AgentPilot"
                  userdata="stop playback" />
      </menu_item_call>
      <menu_item_check name="Loop Playback" label="Loop Playback">
        <on_click function="Advanced.ToggleAgentPilotLoop"
                  userdata="" />
        <on_check function="Advanced.CheckAgentPilotLoop"
                  userdata="" />
      </menu_item_check>
      <menu_item_call name="Start Record" label="Start Record">
        <on_click function="Advanced.AgentPilot"
                  userdata="start record" />
      </menu_item_call>
      <menu_item_call name="Stop Record" label="Stop Record">
        <on_click function="Advanced.AgentPilot"
                  userdata="stop record" />
      </menu_item_call>
    </menu>


    <menu_item_separator />


    <menu_item_check name="Show Updates" label="Show Updates">
      <on_click function="Advanced.ToggleShowObjectUpdates"
                userdata="" />
      <on_check function="Advanced.CheckShowObjectUpdates"
                userdata="" />
    </menu_item_check>

    <menu_item_separator />

    <menu_item_call name="Compress Image..."
                    label="Compress Image...">
      <on_click function="Advanced.CompressImage"
                userdata="" />
    </menu_item_call>
    <menu_item_check name="Limit Select Distance"
                     label="Limit Select Distance">
      <on_click function="ToggleControl"
                userdata="LimitSelectDistance" />
      <on_check control="LimitSelectDistance" />
    </menu_item_check>
    <menu_item_check name="Mouse Smoothing"
                     label="Mouse Smoothing">
      <on_click function="ToggleControl"
                userdata="MouseSmooth" />
      <on_check control="MouseSmooth" />
    </menu_item_check>

    <menu_item_separator />

    <menu_item_check name="Console Window"
                     label="Console Window">
      <on_click function="ToggleControl"
                userdata="ShowConsoleWindow" />
      <on_check control="ShowConsoleWindow" />
    </menu_item_check>

    <menu_item_check name="Restrained Life Support"
                     label="Restrained Life Support">
      <on_click function="RLVa.Main.Toggle" />
      <on_check function="RLVa.Main.Enabled" />
    </menu_item_check>

    <menu_item_check name="Output Debug Minidump"
                     label="Output Debug Minidump">
      <on_click function="ToggleControl"
                userdata="SaveMinidump" />
      <on_check control="SaveMinidump" />
    </menu_item_check>
    <menu_item_check name="Clothing..."
                     label="Clothing...">
      <on_click function="Advanced.ToggleClothingFloater"
                userdata="" />
    </menu_item_check>
    <menu_item_check name="Allow Multiple Instances"
            label="Allow Multiple Instances">
      <on_click function="Advanced.ToggleMultipleViewers"
                userdata="" />
      <on_check function="Advanced.CheckMultipleViewers"
                userdata="" />
    </menu_item_check>
    <menu_item_call name="Debug Settings"
                    label="Debug Settings">
      <on_click function="Advanced.ShowDebugSettings"
                userdata="" />
    </menu_item_call>
    <menu_item_check name="View Admin Options"
                     label="View Admin Options"
                     shortcut="control|alt|V">
      <on_click function="Advanced.ToggleViewAdminOptions"
                userdata="" />
      <on_check function="Advanced.CheckViewAdminOptions"
                userdata="" />
    </menu_item_check>
    <menu_item_call name="Request Admin Status"
                    label="Request Admin Status"
                    shortcut="control|alt|G">
      <on_click function="Advanced.RequestAdminStatus"
                userdata="" />
    </menu_item_call>
    <menu_item_call name="Leave Admin Status"
                    label="Leave Admin Status"
                    shortcut="control|alt|shift|G">
      <on_click function="Advanced.LeaveAdminStatus"
                userdata="" />
    </menu_item_call>

  </menu>

</menu_bar>