mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
TileSet: Fix -Wmaybe-uninitialized warning on CompatibilityShapeData
This commit is contained in:
parent
6c9765d87e
commit
baa92252d3
1 changed files with 2 additions and 2 deletions
|
|
@ -151,8 +151,8 @@ class TileSet : public Resource {
|
|||
private:
|
||||
struct CompatibilityShapeData {
|
||||
Vector2i autotile_coords;
|
||||
bool one_way;
|
||||
float one_way_margin;
|
||||
bool one_way = false;
|
||||
float one_way_margin = 0.0f;
|
||||
#ifndef PHYSICS_2D_DISABLED
|
||||
Ref<Shape2D> shape;
|
||||
#endif // PHYSICS_2D_DISABLED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue