Skip to content

Commit 71ef5fc

Browse files
author
AJubrey
committed
[CHANGED] variable names to be more descriptive
1 parent f18dae6 commit 71ef5fc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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

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

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ global proc unityConfigure(
33
string $unityFbxExportSettings,
44
string $unityFbxImportSettings,
55
int $headless,
6-
int $removeOtherMenu)
6+
int $unityRemoveSendToUnityMenuOption)
77
{
88
// configure plugin settings
99
optionVar -stringValue "UnityProject" $unityProject;
1010
optionVar -stringValue "UnityFbxExportSettings" $unityFbxExportSettings;
1111
optionVar -stringValue "UnityFbxImportSettings" $unityFbxImportSettings;
1212
optionVar -intValue "UnityFbxForMaya_Headless" $headless;
13-
optionVar -intValue "UnityFbxForMaya_RemoveOtherMenu" $removeOtherMenu;
13+
optionVar -intValue "UnityFbxForMaya_removeSendToUnityMenu" $unityRemoveSendToUnityMenuOption;
1414

1515
return;
1616
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ global string $unityImportLabel = "Import FBX file from Unity Project and auto-c
1212
global string $unityExportLabel = "Export Model to Unity";
1313

1414
global string $removeOtherMenuString = "UnityFbxForMaya_RemoveOtherMenu";
15-
global string $sendToUnityString = "sendToUnityMenu";
15+
global string $unitySendToUnityMenuName = "sendToUnityMenu";
1616

1717

1818
global proc string unityWhatsNewVersion(){
@@ -23,7 +23,7 @@ global proc string unityWhatsNewVersion(){
2323
global proc unitySetupUI(){
2424

2525
global string $removeOtherMenuString;
26-
global string $sendToUnityString;
26+
global string $unitySendToUnityMenuName;
2727

2828
$isHeadless = `optionVar -q "UnityFbxForMaya_Headless"`;
2929
if($isHeadless){
@@ -35,7 +35,7 @@ global string $sendToUnityString;
3535
\
3636
$removeOtherMenu = `optionVar -q $removeOtherMenuString`;\
3737
if($removeOtherMenu){\
38-
menu -e -visible false $sendToUnityString;\
38+
menu -e -visible false $unitySendToUnityMenuName;\
3939
}\
4040
\
4141
$parentMenu = $gMainFileMenu; \

0 commit comments

Comments
 (0)