mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-05 20:22:59 +00:00
Initialize bools in the headers in editor
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user