Merge pull request #66262 from smix8/navigation_fix_tilemap_offset_3.x
This commit is contained in:
commit
2efed1e206
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue