Initialize bools in the headers in editor

This commit is contained in:
Aaron Franke
2022-03-12 13:34:06 -06:00
parent d7019de7e3
commit 918b09cabc
70 changed files with 175 additions and 389 deletions
-4
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));