From afb41b283c5b5885f6fa586015aa897ee19f0bb7 Mon Sep 17 00:00:00 2001 From: Franklin Sobrinho Date: Wed, 9 Dec 2015 13:56:14 -0300 Subject: [PATCH] Fix tscn format not being recongnized by EditorFileSystem --- scene/resources/scene_format_text.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scene/resources/scene_format_text.cpp b/scene/resources/scene_format_text.cpp index 5f41dc2ce8f..851083aecf3 100644 --- a/scene/resources/scene_format_text.cpp +++ b/scene/resources/scene_format_text.cpp @@ -932,6 +932,10 @@ Ref ResourceFormatLoaderText::load_interactive(const void ResourceFormatLoaderText::get_recognized_extensions_for_type(const String& p_type,List *p_extensions) const { + if (p_type=="") { + get_recognized_extensions(p_extensions); + return; + } if (p_type=="PackedScene") p_extensions->push_back("tscn");