make default extension .tscn

This commit is contained in:
Juan Linietsky 2016-06-18 23:18:10 -03:00
parent bd79aa52ab
commit 29177e1e9b

View file

@ -2121,7 +2121,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
String existing;
if (extensions.size()) {
String root_name(get_edited_scene()->get_name());
existing=root_name+"."+extensions.front()->get().to_lower();
existing=root_name+".tscn";//+extensions.front()->get().to_lower();
}
file->set_current_path(existing);