diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2018-07-03 18:06:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-03 18:06:15 +0200 |
commit | b21c1f64cdbbb762e6ede25eed1fbd1dec4b91a6 (patch) | |
tree | 25414d464c93a845c9dc1f44c0e05c7b61713b87 /scene/2d/tile_map.cpp | |
parent | 5885e1c6ddfaa90ad71ffab1923abaceeadee18d (diff) | |
parent | 4d78e16bc1bf265da32858a38aa75a1233421da4 (diff) |
Merge pull request #18634 from groud/fix_control_child_of_node2d
Fixes the bad calculation of margin & anchors when child of Node2D
Diffstat (limited to 'scene/2d/tile_map.cpp')
-rw-r--r-- | scene/2d/tile_map.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp index 1d60037287..9a343ca0f0 100644 --- a/scene/2d/tile_map.cpp +++ b/scene/2d/tile_map.cpp @@ -1152,16 +1152,6 @@ PoolVector<int> TileMap::_get_tile_data() const { return data; } -Rect2 TileMap::_edit_get_rect() const { - - const_cast<TileMap *>(this)->_update_dirty_quadrants(); - return rect_cache; -} - -bool TileMap::_edit_use_rect() const { - return true; -} - void TileMap::set_collision_layer(uint32_t p_layer) { collision_layer = p_layer; |