mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix Ignore External Changes Bug
Fix Issue #106410 : Add a new list `disk_changed_scenes()` and a boolean `disk_changed_project` to keep track of modfied scenes and the project. Save them only if they are in the list or the boolean value is true, when ignoring external changes.
This commit is contained in:
parent
4a44078451
commit
f165ee211b
2 changed files with 24 additions and 9 deletions
|
|
@ -434,6 +434,8 @@ private:
|
|||
EditorBottomPanel *bottom_panel = nullptr;
|
||||
|
||||
Tree *disk_changed_list = nullptr;
|
||||
LocalVector<String> disk_changed_scenes;
|
||||
bool disk_changed_project = false;
|
||||
ConfirmationDialog *disk_changed = nullptr;
|
||||
ConfirmationDialog *project_data_missing = nullptr;
|
||||
|
||||
|
|
@ -674,7 +676,7 @@ private:
|
|||
void _scan_external_changes();
|
||||
void _reload_modified_scenes();
|
||||
void _reload_project_settings();
|
||||
void _resave_scenes(String p_str);
|
||||
void _resave_externally_modified_scenes(String p_str);
|
||||
|
||||
void _feature_profile_changed();
|
||||
bool _is_class_editor_disabled_by_feature_profile(const StringName &p_class);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue