You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Rename instance()->instantiate() when it's a verb
This commit is contained in:
@@ -162,7 +162,7 @@ void Polygon2DEditor::_update_bone_list() {
|
||||
}
|
||||
|
||||
Ref<ButtonGroup> bg;
|
||||
bg.instance();
|
||||
bg.instantiate();
|
||||
for (int i = 0; i < node->get_bone_count(); i++) {
|
||||
CheckBox *cb = memnew(CheckBox);
|
||||
NodePath np = node->get_bone_path(i);
|
||||
@@ -1231,7 +1231,7 @@ Polygon2DEditor::Polygon2DEditor(EditorNode *p_editor) :
|
||||
uv_edit->add_child(uv_main_vb);
|
||||
HBoxContainer *uv_mode_hb = memnew(HBoxContainer);
|
||||
|
||||
uv_edit_group.instance();
|
||||
uv_edit_group.instantiate();
|
||||
|
||||
uv_edit_mode[0] = memnew(Button);
|
||||
uv_mode_hb->add_child(uv_edit_mode[0]);
|
||||
|
||||
Reference in New Issue
Block a user