Skip to content

Commit

Permalink
Added default values to CompatibilityShapeData to make CI happy
Browse files Browse the repository at this point in the history
  • Loading branch information
nlupugla committed Sep 21, 2024
1 parent 93f050d commit b5f4bcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scene/resources/2d/tile_set.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ class TileSet : public Resource {
private:
struct CompatibilityShapeData {
Vector2i autotile_coords;
bool one_way;
float one_way_margin;
bool one_way = false; // TODO: I added these defaults to make the CI happy but I'm not sure if it will break anything
float one_way_margin = 1.0f;
Ref<Shape2D> shape;
Transform2D transform;
};
Expand Down

0 comments on commit b5f4bcd

Please sign in to comment.