File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Assets/Integrations/Autodesk/maya/scripts Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ global string $UnityExportSet = "UnityFbxExportSet";
2
2
global string $UnityFbxFilePathAttr = "unityFbxFilePath";
3
3
global string $UnityFbxFileNameAttr = "unityFbxFileName";
4
4
5
- global proc unityRemoveNativeMenuOnLoad(){
5
+ proc unityRemoveNativeMenuOnLoad(){
6
6
$removeSendToUnityMenu = `optionVar -q "UnityFbxForMaya_removeSendToUnityMenu"`;
7
7
if($removeSendToUnityMenu && `menu -exists "sendToUnityMenu"`){
8
8
//Remove the GamePipeline 'SendToUnity' button
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ global proc unityInstallUI(){
80
80
menuItem -parent $parentMenu -insertAfter $unityMenuDivider -subMenu true -label $unityMenuLabel -tearOff true -version $pluginVersion -image $unityIconPath -annotation $unityFamilyLabel $unityMenuName;
81
81
menuItem -parent $unityMenuName -label $unityImportMenuName -version $pluginVersion -image $unityImportIconPath -annotation $unityImportLabel -command $unityImportCommand;
82
82
menuItem -parent $unityMenuName -label $unityExportMenuName -version $pluginVersion -image $unityExportIconPath -annotation $unityExportLabel -command $unityExportCommand;
83
-
83
+
84
84
$unityRemoveSendToUnityMenuOption = `optionVar -q $unityRemoveSendToUnityMenuOption`;
85
85
if($unityRemoveSendToUnityMenuOption && `menu -exists $unitySendToUnityMenuName`){
86
86
menu -e -visible false $unitySendToUnityMenuName;
You can’t perform that action at this time.
0 commit comments