You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-02 16:48:55 +00:00
When `_save_all_scenes` or `save_resource_in_path` was called, they always saved all the scenes and the resource no matter if they were modified or not. For example, when `saving before run` option was checked, it always overwrote the current scene and the default environment simply by opening and runing the project. This PR adds checks for unsaved scenes (using the same `unsave` check others method used) and modified resources (comparing last modified time and last import time). Fix #6025.
190 KiB
190 KiB