summaryrefslogtreecommitdiffstats
path: root/core/io
diff options
context:
space:
mode:
authorHilderin <81109165+Hilderin@users.noreply.github.com>2024-10-09 19:40:49 -0400
committerHilderin <81109165+Hilderin@users.noreply.github.com>2024-10-20 18:39:31 -0400
commitfbd1643176375e5203e070bb31c1ed808f3e05dd (patch)
treea27dac4b8a493c6b3bdf305a1bae8750902d3a91 /core/io
parent4c4e67334412f73c9deba5e5d29afa8651418af2 (diff)
downloadredot-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.cpp5
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);