Skip to content

Commit e65bc93

Browse files
author
AJubrey
committed
[CHANGED] name of function to match naming convention / keep it from messing with anything built into maya
1 parent ed29910 commit e65bc93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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 removeNativeMenuOnLoad(){
5+
global proc unityRemoveNativeMenuOnLoad(){
66
$removeSendToUnityMenu = `optionVar -q "UnityFbxForMaya_removeSendToUnityMenu"`;
77
if($removeSendToUnityMenu && `menu -exists "sendToUnityMenu"`){
88
//Remove the GamePipeline 'SendToUnity' button
@@ -84,7 +84,7 @@ proc int loadUnityDependencies(){
8484
$result = $result && `loadUnityPlugin ($plugin + "." + $ext)`;
8585
}
8686

87-
evalDeferred -low "removeNativeMenuOnLoad";
87+
evalDeferred -low "unityRemoveNativeMenuOnLoad";
8888

8989
return $result;
9090
}

0 commit comments

Comments
 (0)