Skip to content

Commit b1eb04e

Browse files
author
AJubrey
committed
[FIXED] what should be the last of the incorrect names
1 parent c086713 commit b1eb04e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ proc int loadUnityDependencies(){
7777
$result = $result && `loadUnityPlugin ($plugin + "." + $ext)`;
7878
}
7979

80-
$removeOtherMenu = `optionVar -q "UnityFbxForMaya_removeSendToUnityMenu"`;
81-
if($removeOtherMenu){
80+
$removeSendToUnityMenu = `optionVar -q "UnityFbxForMaya_removeSendToUnityMenu"`;
81+
if($removeSendToUnityMenu){
8282
//Remove the GamePipeline 'SendToUnity' button
8383
menu -e -visible false "sendToUnityMenu";
8484
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ global string $unityFamilyLabel = "The UnityFbxForMaya plugin allows you to reli
1111
global string $unityImportLabel = "Import FBX file from Unity Project and auto-configure for exporting";
1212
global string $unityExportLabel = "Export Model to Unity";
1313

14-
global string $removeSendToUnityMenuString = "UnityFbxForMaya_removeSendToUnityMenu";
14+
global string $unityRemoveSendToUnityMenuOption = "UnityFbxForMaya_removeSendToUnityMenu";
1515
global string $unitySendToUnityMenuName = "sendToUnityMenu";
1616

1717

@@ -33,7 +33,7 @@ global proc unitySetupUI(){
3333

3434
evalDeferred -lowestPriority "buildFileMenu; \
3535
\
36-
$removeOtherMenu = `optionVar -q $removeSendToUnityMenuString`;\
36+
$removeOtherMenu = `optionVar -q $unityRemoveSendToUnityMenuOption`;\
3737
if($removeOtherMenu){\
3838
menu -e -visible false $unitySendToUnityMenuName;\
3939
}\

0 commit comments

Comments
 (0)