File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Assets/Integrations/Autodesk/maya/scripts Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ proc int loadUnityDependencies(){
77
77
$result = $result && `loadUnityPlugin ($plugin + "." + $ext)`;
78
78
}
79
79
80
- $removeOtherMenu = `optionVar -q "UnityFbxForMaya_RemoveOtherMenu "`;
80
+ $removeOtherMenu = `optionVar -q "UnityFbxForMaya_removeSendToUnityMenu "`;
81
81
if($removeOtherMenu){
82
82
//Remove the GamePipeline 'SendToUnity' button
83
83
menu -e -visible false "sendToUnityMenu";
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ global proc unityConfigure(
3
3
string $unityFbxExportSettings,
4
4
string $unityFbxImportSettings,
5
5
int $headless,
6
- int $removeOtherMenu )
6
+ int $unityRemoveSendToUnityMenuOption )
7
7
{
8
8
// configure plugin settings
9
9
optionVar -stringValue "UnityProject" $unityProject;
10
10
optionVar -stringValue "UnityFbxExportSettings" $unityFbxExportSettings;
11
11
optionVar -stringValue "UnityFbxImportSettings" $unityFbxImportSettings;
12
12
optionVar -intValue "UnityFbxForMaya_Headless" $headless;
13
- optionVar -intValue "UnityFbxForMaya_RemoveOtherMenu " $removeOtherMenu ;
13
+ optionVar -intValue "UnityFbxForMaya_removeSendToUnityMenu " $unityRemoveSendToUnityMenuOption ;
14
14
15
15
return;
16
16
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ global string $unityImportLabel = "Import FBX file from Unity Project and auto-c
12
12
global string $unityExportLabel = "Export Model to Unity";
13
13
14
14
global string $removeOtherMenuString = "UnityFbxForMaya_RemoveOtherMenu";
15
- global string $sendToUnityString = "sendToUnityMenu";
15
+ global string $unitySendToUnityMenuName = "sendToUnityMenu";
16
16
17
17
18
18
global proc string unityWhatsNewVersion(){
@@ -23,7 +23,7 @@ global proc string unityWhatsNewVersion(){
23
23
global proc unitySetupUI(){
24
24
25
25
global string $removeOtherMenuString;
26
- global string $sendToUnityString ;
26
+ global string $unitySendToUnityMenuName ;
27
27
28
28
$isHeadless = `optionVar -q "UnityFbxForMaya_Headless"`;
29
29
if($isHeadless){
@@ -35,7 +35,7 @@ global string $sendToUnityString;
35
35
\
36
36
$removeOtherMenu = `optionVar -q $removeOtherMenuString`;\
37
37
if($removeOtherMenu){\
38
- menu -e -visible false $sendToUnityString ;\
38
+ menu -e -visible false $unitySendToUnityMenuName ;\
39
39
}\
40
40
\
41
41
$parentMenu = $gMainFileMenu; \
You can’t perform that action at this time.
0 commit comments