diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2020-04-06 01:06:10 +0200 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2020-04-06 01:19:20 +0200 |
commit | c1023157eb761efcda07c3fa2015517b8a3621e1 (patch) | |
tree | 24879a70fa719da1fadf2d3546bf6a806240f046 /modules/visual_script/visual_script_editor.cpp | |
parent | 4a0e99f19746d726a2d9282cc52879c95c5c4ae3 (diff) |
Remove Node.get_position_in_parent()
Diffstat (limited to 'modules/visual_script/visual_script_editor.cpp')
-rw-r--r-- | modules/visual_script/visual_script_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_editor.cpp b/modules/visual_script/visual_script_editor.cpp index 30522930c7..ab528fac30 100644 --- a/modules/visual_script/visual_script_editor.cpp +++ b/modules/visual_script/visual_script_editor.cpp @@ -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)); |