diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-03-12 22:00:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-12 22:00:38 +0100 |
commit | 84b358c1d8a01ce70a56a099ef98ae014a91239b (patch) | |
tree | 9dfb634eb5126e47dc576e62473361fea1f04ecb /editor/script_create_dialog.cpp | |
parent | 5959d38c6838d3470ba2b1e166602366cdbac6c5 (diff) | |
parent | 918b09cabc39dbf13bed2406da56035341ac1cf4 (diff) | |
download | redot-engine-84b358c1d8a01ce70a56a099ef98ae014a91239b.tar.gz |
Merge pull request #58338 from aaronfranke/bools
Initialize bools in the headers in `editor/`
Diffstat (limited to 'editor/script_create_dialog.cpp')
-rw-r--r-- | editor/script_create_dialog.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp index 1e6286bc9c..baafef8639 100644 --- a/editor/script_create_dialog.cpp +++ b/editor/script_create_dialog.cpp @@ -1026,7 +1026,6 @@ ScriptCreateDialog::ScriptCreateDialog() { hb->add_child(parent_browse_button); gc->add_child(memnew(Label(TTR("Inherits:")))); gc->add_child(hb); - is_browsing_parent = false; /* Class Name */ @@ -1037,8 +1036,6 @@ ScriptCreateDialog::ScriptCreateDialog() { gc->add_child(class_name); /* Templates */ - - is_using_templates = true; gc->add_child(memnew(Label(TTR("Template:")))); HBoxContainer *template_hb = memnew(HBoxContainer); template_hb->set_h_size_flags(Control::SIZE_EXPAND_FILL); @@ -1079,7 +1076,6 @@ ScriptCreateDialog::ScriptCreateDialog() { Label *label = memnew(Label(TTR("Path:"))); gc->add_child(label); gc->add_child(hb); - re_check_path = false; path_controls[0] = label; path_controls[1] = hb; @@ -1116,17 +1112,4 @@ ScriptCreateDialog::ScriptCreateDialog() { set_hide_on_ok(false); set_title(TTR("Attach Node Script")); - - is_parent_name_valid = false; - is_class_name_valid = false; - is_path_valid = false; - - has_named_classes = false; - supports_built_in = false; - can_inherit_from_file = false; - is_built_in = false; - built_in_enabled = true; - load_enabled = true; - - is_new_script_created = true; } |