Allow fixing indirect missing dependencies manually

This commit is contained in:
Haoyu Qiu
2025-06-16 10:56:13 +08:00
parent 07f4c06601
commit f0d5073037
6 changed files with 222 additions and 111 deletions

View File

@ -65,7 +65,6 @@ class Window;
class AudioStreamImportSettingsDialog;
class AudioStreamPreviewGenerator;
class BackgroundProgress;
class DependencyEditor;
class DependencyErrorDialog;
class DockSplitContainer;
class DynamicFontImportSettingsDialog;
@ -421,7 +420,6 @@ private:
DependencyErrorDialog *dependency_error = nullptr;
HashMap<String, HashSet<String>> dependency_errors;
DependencyEditor *dependency_fixer = nullptr;
OrphanResourcesDialog *orphan_resources = nullptr;
ConfirmationDialog *open_imported = nullptr;
Button *new_inherited_button = nullptr;
@ -843,7 +841,6 @@ public:
String get_preview_locale() const;
void set_preview_locale(const String &p_locale);
void fix_dependencies(const String &p_for_file);
int new_scene();
Error load_scene(const String &p_scene, bool p_ignore_broken_deps = false, bool p_set_inherited = false, bool p_force_open_imported = false, bool p_silent_change_tab = false);
Error load_resource(const String &p_resource, bool p_ignore_broken_deps = false);