Rename instance()->instantiate() when it's a verb
This commit is contained in:
@@ -572,7 +572,7 @@ void EditorPropertyArray::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyArray::EditorPropertyArray() {
|
||||
object.instance();
|
||||
object.instantiate();
|
||||
page_len = int(EDITOR_GET("interface/inspector/max_array_dictionary_items_per_page"));
|
||||
edit = memnew(Button);
|
||||
edit->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
@@ -971,7 +971,7 @@ void EditorPropertyDictionary::update_property() {
|
||||
PanelContainer *pc = memnew(PanelContainer);
|
||||
vbox->add_child(pc);
|
||||
Ref<StyleBoxFlat> flat;
|
||||
flat.instance();
|
||||
flat.instantiate();
|
||||
for (int j = 0; j < 4; j++) {
|
||||
flat->set_default_margin(Side(j), 2 * EDSCALE);
|
||||
}
|
||||
@@ -1066,7 +1066,7 @@ void EditorPropertyDictionary::_bind_methods() {
|
||||
}
|
||||
|
||||
EditorPropertyDictionary::EditorPropertyDictionary() {
|
||||
object.instance();
|
||||
object.instantiate();
|
||||
page_len = int(EDITOR_GET("interface/inspector/max_array_dictionary_items_per_page"));
|
||||
edit = memnew(Button);
|
||||
edit->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
|
||||
Reference in New Issue
Block a user