File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Assets/Integrations/Autodesk/maya/scripts Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ global proc unityInstallUI(){
56
56
global string $unityImportCommand;
57
57
global string $unityExportCommand;
58
58
59
+ global string $unityRemoveSendToUnityMenuOption;
60
+ global string $unitySendToUnityMenuName;
61
+
59
62
global string $gMainFileMenu;
60
63
61
64
buildFileMenu;
@@ -67,8 +70,8 @@ global proc unityInstallUI(){
67
70
menuItem -parent $unityMenuName -label $unityImportMenuName -version $pluginVersion -image $unityImportIconPath -annotation $unityImportLabel -command $unityImportCommand;
68
71
menuItem -parent $unityMenuName -label $unityExportMenuName -version $pluginVersion -image $unityExportIconPath -annotation $unityExportLabel -command $unityExportCommand;
69
72
70
- $removeOtherMenu = `optionVar -q $unityRemoveSendToUnityMenuOption`;
71
- if($removeOtherMenu ){
73
+ $unityRemoveSendToUnityMenuOption = `optionVar -q $unityRemoveSendToUnityMenuOption`;
74
+ if($unityRemoveSendToUnityMenuOption ){
72
75
menu -e -visible false $unitySendToUnityMenuName;
73
76
}
74
77
You can’t perform that action at this time.
0 commit comments