mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Show a warning toast when saving a large text-based scene
Text-based scenes that contain large amounts of binary data are slower to save and load. Their binary resources should be moved to separate files, or the binary `.scn` format should be used instead.
This commit is contained in:
parent
68410acc61
commit
cbb8f55b96
3 changed files with 31 additions and 0 deletions
|
|
@ -653,6 +653,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
|||
// On save
|
||||
_initial_set("filesystem/on_save/compress_binary_resources", true);
|
||||
_initial_set("filesystem/on_save/safe_save_on_backup_then_rename", true);
|
||||
_initial_set("filesystem/on_save/warn_on_saving_large_text_resources", true);
|
||||
|
||||
// EditorFileServer
|
||||
_initial_set("filesystem/file_server/port", 6010);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue