You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Merge pull request #68709 from MewPurPur/instance-begone-part3
Remove more instances of 'instance' being used as a verb
This commit is contained in:
@@ -501,7 +501,7 @@ String CreateDialog::get_selected_type() {
|
||||
return selected->get_text(0);
|
||||
}
|
||||
|
||||
Variant CreateDialog::instance_selected() {
|
||||
Variant CreateDialog::instantiate_selected() {
|
||||
TreeItem *selected = search_options->get_selected();
|
||||
|
||||
if (!selected) {
|
||||
@@ -519,7 +519,7 @@ Variant CreateDialog::instance_selected() {
|
||||
n->set_name(custom);
|
||||
}
|
||||
} else {
|
||||
obj = EditorNode::get_editor_data().instance_custom_type(selected->get_text(0), custom);
|
||||
obj = EditorNode::get_editor_data().instantiate_custom_type(selected->get_text(0), custom);
|
||||
}
|
||||
} else {
|
||||
obj = ClassDB::instantiate(selected->get_text(0));
|
||||
|
||||
Reference in New Issue
Block a user