Fix default argument in cpp file.

This commit is contained in:
Relintai 2021-12-12 17:46:20 +01:00
parent 9e51f9e807
commit ab25c104c0

View File

@ -679,7 +679,7 @@ int RGenericTilePolygonEditor::add_polygon(Vector<Point2> p_polygon, int p_index
} }
} }
int RGenericTilePolygonEditor::add_polygon_poolvector(PoolVector2Array p_polygon, int p_index = -1) { int RGenericTilePolygonEditor::add_polygon_poolvector(PoolVector2Array p_polygon, int p_index) {
Vector<Point2> v; Vector<Point2> v;
v.resize(p_polygon.size()); v.resize(p_polygon.size());