We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4aab9b commit 89e64ffCopy full SHA for 89e64ff
Assets/FbxExporters/Editor/FbxExportSettings.cs
@@ -342,12 +342,16 @@ public static GUIContent[] GetMayaOptions(){
342
}
343
344
public static void AddMayaOption(string newOption){
345
+ // on OSX we get a path ending in .app, which is not quite the exe
346
+#if UNITY_EDITOR_OSX
347
+ newOption = GetMayaExePath(newOption);
348
+#endif
349
+
350
var mayaOptionPaths = instance.mayaOptionPaths;
351
if (mayaOptionPaths.Contains(newOption)) {
352
instance.selectedMayaApp = mayaOptionPaths.IndexOf (newOption);
353
return;
354
-
355
// get the version
356
var version = AskMayaVersion(newOption);
357
instance.mayaOptionNames.Add (GetUniqueName("Maya "+version));
0 commit comments