You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -1238,7 +1238,7 @@ void Node3DEditorViewport::_list_select(Ref<InputEventMouseButton> b) {
|
||||
Node3D *item = selection_results[i].item;
|
||||
if (item != scene && item->get_owner() != scene && item != scene->get_deepest_editable_node(item)) {
|
||||
//invalid result
|
||||
selection_results.remove(i);
|
||||
selection_results.remove_at(i);
|
||||
i--;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user