File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Assets/Integrations/Autodesk/maya/scripts Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ proc int loadUnityDependencies(){
77
77
$result = $result && `loadUnityPlugin ($plugin + "." + $ext)`;
78
78
}
79
79
80
- $removeOtherMenu = `optionVar -q "UnityFbxForMaya_removeSendToUnityMenu"`;
81
- if($removeOtherMenu ){
80
+ $removeSendToUnityMenu = `optionVar -q "UnityFbxForMaya_removeSendToUnityMenu"`;
81
+ if($removeSendToUnityMenu ){
82
82
//Remove the GamePipeline 'SendToUnity' button
83
83
menu -e -visible false "sendToUnityMenu";
84
84
}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ global string $unityFamilyLabel = "The UnityFbxForMaya plugin allows you to reli
11
11
global string $unityImportLabel = "Import FBX file from Unity Project and auto-configure for exporting";
12
12
global string $unityExportLabel = "Export Model to Unity";
13
13
14
- global string $removeSendToUnityMenuString = "UnityFbxForMaya_removeSendToUnityMenu";
14
+ global string $unityRemoveSendToUnityMenuOption = "UnityFbxForMaya_removeSendToUnityMenu";
15
15
global string $unitySendToUnityMenuName = "sendToUnityMenu";
16
16
17
17
@@ -33,7 +33,7 @@ global proc unitySetupUI(){
33
33
34
34
evalDeferred -lowestPriority "buildFileMenu; \
35
35
\
36
- $removeOtherMenu = `optionVar -q $removeSendToUnityMenuString `;\
36
+ $removeOtherMenu = `optionVar -q $unityRemoveSendToUnityMenuOption `;\
37
37
if($removeOtherMenu){\
38
38
menu -e -visible false $unitySendToUnityMenuName;\
39
39
}\
You can’t perform that action at this time.
0 commit comments