summaryrefslogtreecommitdiff
path: root/editor/script_create_dialog.h
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-02-15 08:56:58 -0600
committerAaron Franke <arnfranke@yahoo.com>2022-03-12 13:34:06 -0600
commit918b09cabc39dbf13bed2406da56035341ac1cf4 (patch)
tree20989f8c374745f579f88c0dd925b31fa9b1ba55 /editor/script_create_dialog.h
parentd7019de7e3c416e5492d1508b39c9b25adc2483a (diff)
Initialize bools in the headers in editor
Diffstat (limited to 'editor/script_create_dialog.h')
-rw-r--r--editor/script_create_dialog.h28
1 files changed, 13 insertions, 15 deletions
diff --git a/editor/script_create_dialog.h b/editor/script_create_dialog.h
index 5c0f51812f..d7c43f322c 100644
--- a/editor/script_create_dialog.h
+++ b/editor/script_create_dialog.h
@@ -66,25 +66,23 @@ class ScriptCreateDialog : public ConfirmationDialog {
VBoxContainer *path_vb;
AcceptDialog *alert;
CreateDialog *select_class;
- bool path_valid;
- bool create_new;
- bool is_browsing_parent;
+ bool is_browsing_parent = false;
String template_inactive_message;
String initial_bp;
- bool is_new_script_created;
- bool is_path_valid;
- bool has_named_classes;
- bool supports_built_in;
- bool can_inherit_from_file;
- bool is_parent_name_valid;
- bool is_class_name_valid;
- bool is_built_in;
- bool is_using_templates;
- bool built_in_enabled;
- bool load_enabled;
+ bool is_new_script_created = true;
+ bool is_path_valid = false;
+ bool has_named_classes = false;
+ bool supports_built_in = false;
+ bool can_inherit_from_file = false;
+ bool is_parent_name_valid = false;
+ bool is_class_name_valid = false;
+ bool is_built_in = false;
+ bool is_using_templates = true;
+ bool built_in_enabled = true;
+ bool load_enabled = true;
int current_language;
int default_language;
- bool re_check_path;
+ bool re_check_path = false;
Control *path_controls[2];
Control *name_controls[2];