From 4f9dea3aed8a0a15df6dfde65fc5f2bd5e8a0b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 18 Jul 2016 21:29:30 +0200 Subject: Revert "Change default extension to .tscn when import 3d scene" Also adds a comment as to why this extension should not be changed. This commit reverts edf7082326526d76bfda095daa99e56317e30803. --- tools/editor/io_plugins/editor_scene_import_plugin.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/editor/io_plugins') diff --git a/tools/editor/io_plugins/editor_scene_import_plugin.cpp b/tools/editor/io_plugins/editor_scene_import_plugin.cpp index 61e92309eb..fa62283e37 100644 --- a/tools/editor/io_plugins/editor_scene_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_scene_import_plugin.cpp @@ -756,7 +756,9 @@ void EditorSceneImportDialog::_import(bool p_and_open) { } - String save_file = save_path->get_text().plus_file(import_path->get_text().get_file().basename()+".tscn"); + // Scenes should always be imported as binary format since vertex data is large and would take + // up a lot of space and time to load if imported as text format (GH-5778) + String save_file = save_path->get_text().plus_file(import_path->get_text().get_file().basename()+".scn"); print_line("Saving to: "+save_file); -- cgit v1.2.3