Browse Source

Fix NavigationRegion2D transform update

Fixes NavigationRegion2D transform update.

(cherry picked from commit 6fdb16af478966d78879018e01fbc40b6f5ba9d6)
smix8 1 year ago
parent
commit
90f7b2b8cf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scene/2d/navigation_region_2d.cpp

+ 1 - 0
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: {