Make NavigationLink3D properly update on NOTIFICATION_VISIBILITY_CHANGED
(cherry picked from commit fc1461cfe0)
This commit is contained in:
committed by
Rémi Verschelde
parent
13c5cc45d0
commit
8152c2bc5b
@ -262,6 +262,12 @@ void NavigationLink3D::_notification(int p_what) {
|
||||
case NOTIFICATION_EXIT_TREE: {
|
||||
_link_exit_navigation_map();
|
||||
} break;
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||
_update_debug_mesh();
|
||||
} break;
|
||||
#endif // DEBUG_ENABLED
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user