Initialize bools in the headers in editor

This commit is contained in:
Aaron Franke 2022-02-15 08:56:58 -06:00
parent d7019de7e3
commit 918b09cabc
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
70 changed files with 175 additions and 389 deletions

View file

@ -714,7 +714,6 @@ EditorPropertyArray::EditorPropertyArray() {
size_slider = nullptr;
button_add_item = nullptr;
paginator = nullptr;
updating = false;
change_type = memnew(PopupMenu);
add_child(change_type);
change_type->connect("id_pressed", callable_mp(this, &EditorPropertyArray::_change_type_menu));
@ -723,8 +722,6 @@ EditorPropertyArray::EditorPropertyArray() {
subtype = Variant::NIL;
subtype_hint = PROPERTY_HINT_NONE;
subtype_hint_string = "";
dropping = false;
}
///////////////////// DICTIONARY ///////////////////////////
@ -1211,7 +1208,6 @@ EditorPropertyDictionary::EditorPropertyDictionary() {
vbox = nullptr;
button_add_item = nullptr;
paginator = nullptr;
updating = false;
change_type = memnew(PopupMenu);
add_child(change_type);
change_type->connect("id_pressed", callable_mp(this, &EditorPropertyDictionary::_change_type_menu));