godot/scene/2d
smix8 3b9355be3f Fix TileMaps with origin offset placing NavPolygons wrong without a Navigation2D node
The legacy navigation was positioning baked TileMap navpolygons relative to the current Navigation2D node assuming that it is usually one of the parent nodes.

Without the deprecated Navigation2D node the default navigation map of the world_2d is used. This navigation map has no relative Node2D so it needs to use the global_transform of the TileMap to place navregions with the correct offset in case the TileMap is moved from the origin.

(cherry picked from commit 881e49c375)
2022-09-22 20:37:48 +02:00
..
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
animated_sprite.cpp Low priority redraw request for AnimatedSprite 2022-09-20 10:23:31 +02:00
animated_sprite.h AnimatedSprite Fix updating inspector when SpriteFrames is modified 2022-08-08 13:34:05 +02:00
area_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
area_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
audio_stream_player_2d.cpp Fix crash when passing null to AudioStreamPlayer::set_stream() 2022-04-03 12:52:17 +02:00
audio_stream_player_2d.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
back_buffer_copy.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
back_buffer_copy.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
camera_2d.cpp Ensure changes to Camera2D's limits don't affect smoothed_camera_pos 2022-07-28 15:30:34 +01:00
camera_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
canvas_item.cpp Fix `CanvasItem` not exiting its canvas group on canvas exit 2022-07-20 12:49:38 +02:00
canvas_item.h Fix `CanvasItem` not exiting its canvas group on canvas exit 2022-07-20 12:49:38 +02:00
canvas_modulate.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
canvas_modulate.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
collision_object_2d.cpp Store ObjectID instead of raw pointer for Shape Owners 2022-01-25 17:16:02 +08:00
collision_object_2d.h Store ObjectID instead of raw pointer for Shape Owners 2022-01-25 17:16:02 +08:00
collision_polygon_2d.cpp Mention that Area2D doesn't support one_way_collision 2022-05-16 16:27:51 +02:00
collision_polygon_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
collision_shape_2d.cpp Mention that Area2D doesn't support one_way_collision 2022-05-16 16:27:51 +02:00
collision_shape_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
cpu_particles_2d.cpp CPUParticles initialize data on set_amount 2022-09-20 10:24:56 +02:00
cpu_particles_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
joints_2d.cpp Joint2D and Joint: make set_exclude_nodes_from_collision respect signals 2022-02-28 22:51:40 +01:00
joints_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
light_2d.cpp Fix editor-only visibility for lights 2022-07-03 03:21:51 +02:00
light_2d.h Fix editor-only visibility for lights 2022-07-03 03:21:51 +02:00
light_occluder_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
light_occluder_2d.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
line_2d.cpp Backport fixes to documentation for paths, curves and navigation servers 2022-08-30 11:20:03 +02:00
line_2d.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
line_builder.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
line_builder.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
listener_2d.cpp Add dedicated macros for property name extraction 2022-05-19 11:31:35 +08:00
listener_2d.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
mesh_instance_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
mesh_instance_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
multimesh_instance_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
multimesh_instance_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
navigation_2d.cpp Merge pull request #62187 from smix8/nav_nodes_depr_3.5 2022-06-20 18:36:17 +02:00
navigation_2d.h [3.5] Mark Navigation/Navigation2D nodes as deprecated 2022-06-20 17:37:55 +02:00
navigation_agent_2d.cpp Group NavigationAgent properties 2022-06-30 19:23:01 +02:00
navigation_agent_2d.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
navigation_obstacle_2d.cpp Fix NavigationObstacle nodes not registering to default navigation map 2022-08-30 11:14:32 +02:00
navigation_obstacle_2d.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
navigation_polygon.cpp Fix typo when setting NavigationRegion travel_cost 2022-08-08 13:18:43 +02:00
navigation_polygon.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
node_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
node_2d.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
parallax_background.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
parallax_background.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
parallax_layer.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
parallax_layer.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
particles_2d.cpp Fix free(RID) abuse by various classes 2022-08-30 11:18:02 +02:00
particles_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
path_2d.cpp Fix crash on NaN offset in path_follower 2d and 3d 2022-07-14 14:30:24 +12:00
path_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
physics_body_2d.cpp Merge pull request #59439 from fabriceci/3x-fix-move-and-collide-reported-collisions 2022-04-28 18:47:28 +02:00
physics_body_2d.h Fix wrong collision reported on move_and_collide 2022-03-23 11:39:54 +01:00
polygon_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
polygon_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
position_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
position_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
ray_cast_2d.cpp Improve RayCast2D debug shape 2022-04-20 17:28:35 +08:00
ray_cast_2d.h Improve RayCast2D debug shape 2022-04-20 17:28:35 +08:00
remote_transform_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
remote_transform_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
skeleton_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
skeleton_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
sprite.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
sprite.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
tile_map.cpp Fix TileMaps with origin offset placing NavPolygons wrong without a Navigation2D node 2022-09-22 20:37:48 +02:00
tile_map.h [3.5] Update NavigationServer backport 2022-06-14 05:55:14 +02:00
touch_screen_button.cpp Fix TouchScreenButton error spam 2022-04-13 11:43:49 +02:00
touch_screen_button.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
visibility_notifier_2d.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
visibility_notifier_2d.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
y_sort.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
y_sort.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00