summaryrefslogtreecommitdiff
path: root/editor/scene_tree_editor.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-12 22:00:38 +0100
committerGitHub <noreply@github.com>2022-03-12 22:00:38 +0100
commit84b358c1d8a01ce70a56a099ef98ae014a91239b (patch)
tree9dfb634eb5126e47dc576e62473361fea1f04ecb /editor/scene_tree_editor.h
parent5959d38c6838d3470ba2b1e166602366cdbac6c5 (diff)
parent918b09cabc39dbf13bed2406da56035341ac1cf4 (diff)
Merge pull request #58338 from aaronfranke/bools
Initialize bools in the headers in `editor/`
Diffstat (limited to 'editor/scene_tree_editor.h')
-rw-r--r--editor/scene_tree_editor.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/editor/scene_tree_editor.h b/editor/scene_tree_editor.h
index f700182681..2466b8576a 100644
--- a/editor/scene_tree_editor.h
+++ b/editor/scene_tree_editor.h
@@ -65,8 +65,8 @@ class SceneTreeEditor : public Control {
AcceptDialog *warning;
bool auto_expand_selected = true;
- bool connect_to_script_mode;
- bool connecting_signal;
+ bool connect_to_script_mode = false;
+ bool connecting_signal = false;
int blocked;
@@ -92,18 +92,18 @@ class SceneTreeEditor : public Control {
bool can_rename;
bool can_open_instance;
- bool updating_tree;
- bool show_enabled_subscene;
+ bool updating_tree = false;
+ bool show_enabled_subscene = false;
void _renamed();
UndoRedo *undo_redo;
Set<Node *> marked;
- bool marked_selectable;
- bool marked_children_selectable;
- bool display_foreign;
- bool tree_dirty;
- bool pending_test_update;
+ bool marked_selectable = false;
+ bool marked_children_selectable = false;
+ bool display_foreign = false;
+ bool tree_dirty = true;
+ bool pending_test_update = false;
static void _bind_methods();
void _cell_button_pressed(Object *p_item, int p_column, int p_id);