Merge pull request #53679 from Calinou/editor-large-text-scene-add-warning
Show a warning toast when saving a large text-based scene
This commit is contained in:
@ -853,6 +853,10 @@
|
||||
If [code]true[/code], when saving a file, the editor will rename the old file to a different name, save a new file, then only remove the old file once the new file has been saved. This makes loss of data less likely to happen if the editor or operating system exits unexpectedly while saving (e.g. due to a crash or power outage).
|
||||
[b]Note:[/b] On Windows, this feature can interact negatively with certain antivirus programs. In this case, you may have to set this to [code]false[/code] to prevent file locking issues.
|
||||
</member>
|
||||
<member name="filesystem/on_save/warn_on_saving_large_text_resources" type="bool" setter="" getter="">
|
||||
If [code]true[/code], displays a warning toast message when saving a text-based scene or resource that is larger than 500 KiB on disk. This is typically caused by binary subresources being embedded as text, which results in slow and inefficient conversion to text. This in turn impacts scene saving and loading times.
|
||||
This should usually be resolved by moving the embedded binary subresource to its own binary resource file ([code].res[/code] extension instead of [code].tres[/code]). This is the preferred approach. Alternatively, the entire scene can be saved with the binary [code].scn[/code] format as opposed to [code].tscn[/code], but this will make it less friendly to version control systems.
|
||||
</member>
|
||||
<member name="filesystem/quick_open_dialog/default_display_mode" type="int" setter="" getter="">
|
||||
If set to [code]Adaptive[/code], the dialog opens in list view or grid view depending on the requested type. If set to [code]Last Used[/code], the display mode will always open the way you last used it.
|
||||
</member>
|
||||
|
||||
Reference in New Issue
Block a user