summaryrefslogtreecommitdiff
path: root/editor/editor_node.h
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2023-03-13 16:58:31 +0100
committerGitHub <noreply@github.com>2023-03-13 16:58:31 +0100
commit30e81fcc26ee4e9394abe2504c6dd613b06a85db (patch)
tree9f1cfef5f96c0392260646f03addce85f4604772 /editor/editor_node.h
parenteb503fb461f996ae9fb56c0525abed784e9ed8db (diff)
parent857cd853dee0ebd553621ec4c29f16d7ca79085a (diff)
Merge pull request #74866 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.1) - 1st batch
Diffstat (limited to 'editor/editor_node.h')
-rw-r--r--editor/editor_node.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h
index 8ad5969249..66a3bf5be2 100644
--- a/editor/editor_node.h
+++ b/editor/editor_node.h
@@ -45,6 +45,7 @@ typedef void (*EditorPluginInitializeCallback)();
typedef bool (*EditorBuildCallback)();
class AcceptDialog;
+class AcceptDialogAutoReparent;
class AudioStreamPreviewGenerator;
class BackgroundProgress;
class CenterContainer;
@@ -370,10 +371,10 @@ private:
PluginConfigDialog *plugin_config_dialog = nullptr;
RichTextLabel *load_errors = nullptr;
- AcceptDialog *load_error_dialog = nullptr;
+ AcceptDialogAutoReparent *load_error_dialog = nullptr;
RichTextLabel *execute_outputs = nullptr;
- AcceptDialog *execute_output_dialog = nullptr;
+ AcceptDialogAutoReparent *execute_output_dialog = nullptr;
Ref<Theme> theme;
@@ -388,10 +389,10 @@ private:
ConfirmationDialog *import_confirmation = nullptr;
ConfirmationDialog *pick_main_scene = nullptr;
Button *select_current_scene_button = nullptr;
- AcceptDialog *accept = nullptr;
- AcceptDialog *save_accept = nullptr;
+ AcceptDialogAutoReparent *accept = nullptr;
+ AcceptDialogAutoReparent *save_accept = nullptr;
EditorAbout *about = nullptr;
- AcceptDialog *warning = nullptr;
+ AcceptDialogAutoReparent *warning = nullptr;
int overridden_default_layout = -1;
Ref<ConfigFile> default_layout;
@@ -485,6 +486,7 @@ private:
Object *current = nullptr;
Ref<Resource> saving_resource;
+ HashSet<Ref<Resource>> saving_resources_in_path;
uint64_t update_spinner_step_msec = 0;
uint64_t update_spinner_step_frame = 0;