You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Use reference to constant in functions
This commit is contained in:
@@ -1833,7 +1833,7 @@ Vector<Vector2> TileSetEditor::_get_edited_shape_points() {
|
||||
return _get_collision_shape_points(edited_collision_shape);
|
||||
}
|
||||
|
||||
void TileSetEditor::_set_edited_shape_points(const Vector<Vector2> points) {
|
||||
void TileSetEditor::_set_edited_shape_points(const Vector<Vector2> &points) {
|
||||
Ref<ConvexPolygonShape2D> convex = edited_collision_shape;
|
||||
Ref<ConcavePolygonShape2D> concave = edited_collision_shape;
|
||||
if (convex.is_valid()) {
|
||||
|
||||
Reference in New Issue
Block a user