summaryrefslogtreecommitdiff
path: root/editor/property_editor.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/property_editor.h
parentd7019de7e3c416e5492d1508b39c9b25adc2483a (diff)
Initialize bools in the headers in editor
Diffstat (limited to 'editor/property_editor.h')
-rw-r--r--editor/property_editor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/property_editor.h b/editor/property_editor.h
index c4287dc115..73306e0bc2 100644
--- a/editor/property_editor.h
+++ b/editor/property_editor.h
@@ -119,7 +119,7 @@ class CustomPropertyEditor : public PopupPanel {
TextureRect *texture_preview;
ColorPicker *color_picker;
TextEdit *text_edit;
- bool read_only;
+ bool read_only = false;
bool picking_viewport;
GridContainer *checks20gc;
CheckBox *checks20[20];
@@ -132,7 +132,7 @@ class CustomPropertyEditor : public PopupPanel {
Object *owner;
- bool updating;
+ bool updating = false;
PropertyValueEvaluator *evaluator;