Skip to content

Commit e26454c

Browse files
author
AJubrey
committed
[REMOVED] extra spaces
[CHANGED] process to not be global, it didn't need to be anymore
1 parent a5acd3d commit e26454c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Assets/Integrations/Autodesk/maya/scripts/unityCommands.mel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ global string $UnityExportSet = "UnityFbxExportSet";
22
global string $UnityFbxFilePathAttr = "unityFbxFilePath";
33
global string $UnityFbxFileNameAttr = "unityFbxFileName";
44

5-
global proc unityRemoveNativeMenuOnLoad(){
5+
proc unityRemoveNativeMenuOnLoad(){
66
$removeSendToUnityMenu = `optionVar -q "UnityFbxForMaya_removeSendToUnityMenu"`;
77
if($removeSendToUnityMenu && `menu -exists "sendToUnityMenu"`){
88
//Remove the GamePipeline 'SendToUnity' button

Assets/Integrations/Autodesk/maya/scripts/unitySetupUI.mel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ global proc unityInstallUI(){
8080
menuItem -parent $parentMenu -insertAfter $unityMenuDivider -subMenu true -label $unityMenuLabel -tearOff true -version $pluginVersion -image $unityIconPath -annotation $unityFamilyLabel $unityMenuName;
8181
menuItem -parent $unityMenuName -label $unityImportMenuName -version $pluginVersion -image $unityImportIconPath -annotation $unityImportLabel -command $unityImportCommand;
8282
menuItem -parent $unityMenuName -label $unityExportMenuName -version $pluginVersion -image $unityExportIconPath -annotation $unityExportLabel -command $unityExportCommand;
83-
83+
8484
$unityRemoveSendToUnityMenuOption = `optionVar -q $unityRemoveSendToUnityMenuOption`;
8585
if($unityRemoveSendToUnityMenuOption && `menu -exists $unitySendToUnityMenuName`){
8686
menu -e -visible false $unitySendToUnityMenuName;

0 commit comments

Comments
 (0)