You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-30 16:26:50 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -329,7 +329,7 @@ void AnimationNode::set_input_name(int p_input, const String &p_name) {
|
||||
|
||||
void AnimationNode::remove_input(int p_index) {
|
||||
ERR_FAIL_INDEX(p_index, inputs.size());
|
||||
inputs.remove(p_index);
|
||||
inputs.remove_at(p_index);
|
||||
emit_changed();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user