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 4951de1 commit 291e5a9Copy full SHA for 291e5a9
Assets/FbxExporters/Editor/FbxExportSettings.cs
@@ -128,7 +128,11 @@ public override void OnInspectorGUI() {
128
// clicked on the wrong application, try to see if we can still find
129
// maya in this directory.
130
var mayaDir = new DirectoryInfo(Path.GetDirectoryName(mayaPath));
131
+#if UNITY_EDITOR_OSX
132
+ var files = mayaDir.GetDirectories("*." + ext);
133
+#else
134
var files = mayaDir.GetFiles ("*." + ext);
135
+#endif
136
bool foundMaya = false;
137
foreach (var file in files) {
138
var filename = Path.GetFileNameWithoutExtension (file.Name).ToLower ();
0 commit comments