summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-09-02 10:35:56 +0200
committerGitHub <noreply@github.com>2019-09-02 10:35:56 +0200
commit7e731bbce221c423340821f1801a4fe021138358 (patch)
tree527a20dd7aedc003db3c1b9af8eca5b970748f80 /scene/2d
parent220ff5baf29673ebdce4aeef4ddd19b629b44e9f (diff)
parent0b5a600564778b4189adbd35fc6cef5db3495a0d (diff)
Merge pull request #31878 from aole/Initialize-TileMap-Custom-Transform
Initialize TileMap Custom Transform
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/tile_map.cpp1
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;