File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Assets/FbxExporters/Editor Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,11 @@ public override void OnInspectorGUI() {
116
116
int oldValue = exportSettings . selectedMayaApp ;
117
117
exportSettings . selectedMayaApp = EditorGUILayout . Popup ( exportSettings . selectedMayaApp , options ) ;
118
118
if ( exportSettings . selectedMayaApp == options . Length - 1 ) {
119
- string mayaPath = EditorUtility . OpenFilePanel ( "Select Maya Application" , ExportSettings . kDefaultAdskRoot , "exe" ) ;
119
+ var ext = "exe" ;
120
+ #if UNITY_EDITOR_OSX
121
+ ext = "app" ;
122
+ #endif
123
+ string mayaPath = EditorUtility . OpenFilePanel ( "Select Maya Application" , ExportSettings . kDefaultAdskRoot , ext ) ;
120
124
121
125
// check that the path is valid and references the maya executable
122
126
if ( ! string . IsNullOrEmpty ( mayaPath ) &&
You can’t perform that action at this time.
0 commit comments