diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-16 12:47:34 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-16 12:47:34 +0100 |
commit | 750dc4f9063ba750a2edb3092cf92a005cbefb55 (patch) | |
tree | 2e3caae78501b917afa9383505d15dd1c503a986 /editor | |
parent | d94a46ab9584ebdeb46d0f6b2f25d581ce406eff (diff) | |
parent | ea7baa4fdb8f5f50632085da78562f4ee35105b4 (diff) |
Merge pull request #71369 from Calinou/editor-tweak-executable-file-filters
Tweak fbx2gltf file filter to remove naming restriction
Diffstat (limited to 'editor')
-rw-r--r-- | editor/fbx_importer_manager.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/editor/fbx_importer_manager.cpp b/editor/fbx_importer_manager.cpp index dfea2e706a..2a005034a5 100644 --- a/editor/fbx_importer_manager.cpp +++ b/editor/fbx_importer_manager.cpp @@ -144,12 +144,8 @@ FBXImporterManager::FBXImporterManager() { browse_dialog = memnew(EditorFileDialog); browse_dialog->set_access(EditorFileDialog::ACCESS_FILESYSTEM); browse_dialog->set_file_mode(EditorFileDialog::FILE_MODE_OPEN_FILE); -#if defined(X11_ENABLED) - browse_dialog->add_filter("FBX2glTF-linux-x86_64"); -#elif defined(OSX_ENABLED) - browse_dialog->add_filter("FBX2glTF-macos-x86_64"); -#elif defined(WINDOWS_ENABLED) - browse_dialog->add_filter("FBX2glTF-windows-x86_64"); +#ifdef WINDOWS_ENABLED + browse_dialog->add_filter("*.exe"); #endif browse_dialog->connect("file_selected", callable_mp(this, &FBXImporterManager::_select_file)); |