1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

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 edf7082326.
This commit is contained in:
Rémi Verschelde
2016-07-18 21:29:30 +02:00
parent b0c2801458
commit 4f9dea3aed

View File

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