mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Fix lost of gdextension on editor startup.
Co-authored-by: NetroScript <noreply@enostrion.com>"
This commit is contained in:
@@ -1431,8 +1431,8 @@ void ResourceFormatLoaderText::get_recognized_extensions_for_type(const String &
|
||||
p_extensions->push_back("tscn");
|
||||
}
|
||||
|
||||
// Don't allow .tres for PackedScenes.
|
||||
if (p_type != "PackedScene") {
|
||||
// Don't allow .tres for PackedScenes or GDExtension.
|
||||
if (p_type != "PackedScene" && p_type != "GDExtension") {
|
||||
p_extensions->push_back("tres");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user