You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user