mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Use reference to constant in functions
This commit is contained in:
parent
3bfffcc568
commit
01cc7a996b
42 changed files with 82 additions and 82 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue