Rename remove() to remove_at() when removing by index
This commit is contained in:
parent
5efe80f308
commit
e078f970db
134 changed files with 323 additions and 323 deletions
|
|
@ -134,7 +134,7 @@ void AnimationNodeBlendSpace2D::remove_blend_point(int p_point) {
|
|||
}
|
||||
}
|
||||
if (erase) {
|
||||
triangles.remove(i);
|
||||
triangles.remove_at(i);
|
||||
|
||||
i--;
|
||||
}
|
||||
|
|
@ -224,7 +224,7 @@ int AnimationNodeBlendSpace2D::get_triangle_point(int p_triangle, int p_point) {
|
|||
void AnimationNodeBlendSpace2D::remove_triangle(int p_triangle) {
|
||||
ERR_FAIL_INDEX(p_triangle, triangles.size());
|
||||
|
||||
triangles.remove(p_triangle);
|
||||
triangles.remove_at(p_triangle);
|
||||
}
|
||||
|
||||
int AnimationNodeBlendSpace2D::get_triangle_count() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue