Fix tscn format not being recongnized by EditorFileSystem
This commit is contained in:
parent
2d84943a2b
commit
afb41b283c
1 changed files with 4 additions and 0 deletions
|
@ -932,6 +932,10 @@ Ref<ResourceInteractiveLoader> ResourceFormatLoaderText::load_interactive(const
|
||||||
|
|
||||||
void ResourceFormatLoaderText::get_recognized_extensions_for_type(const String& p_type,List<String> *p_extensions) const {
|
void ResourceFormatLoaderText::get_recognized_extensions_for_type(const String& p_type,List<String> *p_extensions) const {
|
||||||
|
|
||||||
|
if (p_type=="") {
|
||||||
|
get_recognized_extensions(p_extensions);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (p_type=="PackedScene")
|
if (p_type=="PackedScene")
|
||||||
p_extensions->push_back("tscn");
|
p_extensions->push_back("tscn");
|
||||||
|
|
Loading…
Reference in a new issue