summaryrefslogtreecommitdiffstats
path: root/scene/2d/navigation_region_2d.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-12-04 23:11:15 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-12-04 23:11:15 +0100
commit0e4aead7a1b65b2cd49354cd8a403ace8b60cd47 (patch)
tree023d1f771fd6d719133c5272a103fe3ebdf50c98 /scene/2d/navigation_region_2d.cpp
parenta8bc2072528292bd631714c4274f4f0b8384d768 (diff)
parent6fdb16af478966d78879018e01fbc40b6f5ba9d6 (diff)
downloadredot-engine-0e4aead7a1b65b2cd49354cd8a403ace8b60cd47.tar.gz
Merge pull request #85258 from smix8/navregion2d_transform
Fix NavigationRegion2D transform update
Diffstat (limited to 'scene/2d/navigation_region_2d.cpp')
-rw-r--r--scene/2d/navigation_region_2d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/navigation_region_2d.cpp b/scene/2d/navigation_region_2d.cpp
index 5463181e8e..8e4b6bfa19 100644
--- a/scene/2d/navigation_region_2d.cpp
+++ b/scene/2d/navigation_region_2d.cpp
@@ -169,6 +169,7 @@ void NavigationRegion2D::_notification(int p_what) {
case NOTIFICATION_INTERNAL_PHYSICS_PROCESS: {
set_physics_process_internal(false);
+ _region_update_transform();
} break;
case NOTIFICATION_DRAW: {