diff options
author | Hilderin <81109165+Hilderin@users.noreply.github.com> | 2024-10-09 19:40:49 -0400 |
---|---|---|
committer | Hilderin <81109165+Hilderin@users.noreply.github.com> | 2024-10-20 18:39:31 -0400 |
commit | fbd1643176375e5203e070bb31c1ed808f3e05dd (patch) | |
tree | a27dac4b8a493c6b3bdf305a1bae8750902d3a91 /core/io | |
parent | 4c4e67334412f73c9deba5e5d29afa8651418af2 (diff) | |
download | redot-engine-fbd1643176375e5203e070bb31c1ed808f3e05dd.tar.gz |
Fix lost of gdextension on editor startup.
Co-authored-by: NetroScript <noreply@enostrion.com>"
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/resource_format_binary.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp index 109999d612..ecbb9c0104 100644 --- a/core/io/resource_format_binary.cpp +++ b/core/io/resource_format_binary.cpp @@ -1268,6 +1268,11 @@ void ResourceFormatLoaderBinary::get_recognized_extensions_for_type(const String return; } + // res files not supported for GDExtension. + if (p_type == "GDExtension") { + return; + } + List<String> extensions; ClassDB::get_extensions_for_type(p_type, &extensions); |