Initialize TileMap Custom Transform

Initialize TileMap Custom Transform to same as Cell Size (64).
Fixes #30948.
This commit is contained in:
Bhupendra Aole 2019-09-01 19:33:45 -04:00
parent 00aabec8bb
commit 0b5a600564

View file

@ -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;