summaryrefslogtreecommitdiffstats
path: root/core/io/resource_format_binary.cpp
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-10-21 16:39:30 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-10-21 16:39:30 -0500
commita4ed24acef1005c8d90c5cf37d3472e82f28a933 (patch)
treee377e47181afc67a208bbdb7113540ee2936d5ae /core/io/resource_format_binary.cpp
parent7815ccbdd554eb7836c7a2cca2dda5c3003e4a23 (diff)
parentfbd1643176375e5203e070bb31c1ed808f3e05dd (diff)
downloadredot-engine-a4ed24acef1005c8d90c5cf37d3472e82f28a933.tar.gz
Merge pull request #98041 from Hilderin/fix-lost-gdextensions-on-startup
Fix loss of gdextension on editor startup
Diffstat (limited to 'core/io/resource_format_binary.cpp')
-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);