diff options
author | Bhupendra Aole <bhupendra.aole@gmail.com> | 2019-09-01 19:33:45 -0400 |
---|---|---|
committer | Bhupendra Aole <bhupendra.aole@gmail.com> | 2019-09-01 19:33:45 -0400 |
commit | 0b5a600564778b4189adbd35fc6cef5db3495a0d (patch) | |
tree | 2a915abf4e7aca3bd98e75eeb6be4c37e3826575 | |
parent | 00aabec8bb598592b8a8702797b51fc9f6ca6169 (diff) |
Initialize TileMap Custom Transform
Initialize TileMap Custom Transform to same as Cell Size (64).
Fixes #30948.
-rw-r--r-- | scene/2d/tile_map.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp index 2cd05b5c50..15423f8c5e 100644 --- a/scene/2d/tile_map.cpp +++ b/scene/2d/tile_map.cpp @@ -1944,6 +1944,7 @@ TileMap::TileMap() { quadrant_order_dirty = false; quadrant_size = 16; cell_size = Size2(64, 64); + custom_transform = Transform2D(64, 0, 0, 64, 0, 0); collision_layer = 1; collision_mask = 1; friction = 1; |