diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-07-18 21:29:30 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-07-18 21:32:10 +0200 |
commit | 4f9dea3aed8a0a15df6dfde65fc5f2bd5e8a0b06 (patch) | |
tree | 4d4705f08243427fe7bee8f54f7b8be548162655 | |
parent | b0c2801458ed87f6e643c023e86488ee3a16c7f5 (diff) |
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.
-rw-r--r-- | tools/editor/io_plugins/editor_scene_import_plugin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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); |