From afb41b283c5b5885f6fa586015aa897ee19f0bb7 Mon Sep 17 00:00:00 2001 From: Franklin Sobrinho Date: Wed, 9 Dec 2015 13:56:14 -0300 Subject: Fix tscn format not being recongnized by EditorFileSystem --- scene/resources/scene_format_text.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scene/resources') diff --git a/scene/resources/scene_format_text.cpp b/scene/resources/scene_format_text.cpp index 5f41dc2ce8..851083aecf 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"); -- cgit v1.2.3