Merge pull request #66262 from smix8/navigation_fix_tilemap_offset_3.x

This commit is contained in:
Rémi Verschelde 2022-09-22 20:36:13 +02:00 committed by GitHub
commit 2efed1e206
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,7 +160,7 @@ void TileMap::_update_quadrant_transform() {
if (navigation) {
nav_rel = get_relative_transform_to_parent(navigation);
} else {
nav_rel = get_transform();
nav_rel = get_global_transform();
}
}
@ -346,7 +346,7 @@ void TileMap::update_dirty_quadrants() {
if (navigation) {
nav_rel = get_relative_transform_to_parent(navigation);
} else {
nav_rel = get_transform();
nav_rel = get_global_transform();
}
}