From 41ae83e41562213a8cd53643f124a13731a098ad Mon Sep 17 00:00:00 2001 From: Franklin Sobrinho Date: Sun, 24 Jan 2016 18:38:37 -0300 Subject: Fixed small inconsistencies with the text format --- scene/resources/scene_format_text.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scene') diff --git a/scene/resources/scene_format_text.cpp b/scene/resources/scene_format_text.cpp index 2f18e70d7f..4520171eac 100644 --- a/scene/resources/scene_format_text.cpp +++ b/scene/resources/scene_format_text.cpp @@ -1374,9 +1374,10 @@ bool ResourceFormatSaverText::recognize(const RES& p_resource) const { } void ResourceFormatSaverText::get_recognized_extensions(const RES& p_resource,List *p_extensions) const { - p_extensions->push_back("tres"); //text resource if (p_resource->get_type()=="PackedScene") p_extensions->push_back("tscn"); //text scene + else + p_extensions->push_back("tres"); //text resource } -- cgit v1.2.3