summaryrefslogtreecommitdiffstats
path: root/tools/MayaTools/Maya4.0/scripts/others/bobsMenu.mel
blob: b8c5b4abebe62c01356fe4d27e1d37e2ca9364c6 (plain) (blame)
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
global proc bobsMenu(){

	global string $gMainWindow;

	setParent $gMainWindow;

	menu -l "Bobs Menu"
		-p MayaWindow
		-to 1
		-aob true
		-fi "bob_Mr_T.bmp"
		bobsMenu;

	menuItem -l "Refresh Layers"
		-ann ("")
		-echoCommand true
		-c "reBuildLayers"
		reBuildLayers;

	menuItem -divider true;

	menuItem -l "Persp To Ortho"
		-ann ("")
		-echoCommand true
		-c "swapCamera 0"
		swapCamera;

	menuItem -l "Back To Persp"
		-ann ("")
		-echoCommand true
		-c "swapCamera 1"
		swapCamera2;
};