Remove Node.get_position_in_parent()

This commit is contained in:
Tomasz Chabora 2020-04-06 01:06:10 +02:00
parent 4a0e99f197
commit c1023157eb
11 changed files with 18 additions and 32 deletions

View file

@ -1262,7 +1262,7 @@ void VisualScriptEditor::_add_func_input() {
}
func_input_vbox->add_child(hbox);
hbox->set_meta("id", hbox->get_position_in_parent());
hbox->set_meta("id", hbox->get_index());
delete_button->connect("pressed", callable_mp(this, &VisualScriptEditor::_remove_func_input), varray(hbox));