Browse Source

make default extension .tscn

Juan Linietsky 9 năm trước cách đây
mục cha
commit
29177e1e9b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tools/editor/editor_node.cpp

+ 1 - 1
tools/editor/editor_node.cpp

@@ -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);