summaryrefslogtreecommitdiff
path: root/editor/property_editor.h
diff options
context:
space:
mode:
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 1a4d88f7fa..ae623f1ad3 100644
--- a/editor/property_editor.h
+++ b/editor/property_editor.h
@@ -104,7 +104,7 @@ class CustomPropertyEditor : public PopupPanel {
Variant::Type type;
Variant v;
List<String> field_names;
- int hint;
+ int hint = 0;
String hint_text;
HBoxContainer *value_hboxes[MAX_VALUE_EDITORS / 4];
VBoxContainer *value_vbox = nullptr;
@@ -120,7 +120,7 @@ class CustomPropertyEditor : public PopupPanel {
ColorPicker *color_picker = nullptr;
TextEdit *text_edit = nullptr;
bool read_only = false;
- bool picking_viewport;
+ bool picking_viewport = false;
GridContainer *checks20gc = nullptr;
CheckBox *checks20[20];
SpinBox *spinbox = nullptr;