Browse Source

Fix NavigationRegion2D transform update

Fixes NavigationRegion2D transform update.
smix8 1 year ago
parent
commit
6fdb16af47
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

@@ -165,6 +165,7 @@ void NavigationRegion2D::_notification(int p_what) {
 
 		case NOTIFICATION_INTERNAL_PHYSICS_PROCESS: {
 			set_physics_process_internal(false);
+			_region_update_transform();
 		} break;
 
 		case NOTIFICATION_DRAW: {