You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-03 16:55:53 +00:00
Merge pull request #103588 from Olle-Lukowski/nav-link-visibility
Make NavigationLink3D properly update on visibility change
This commit is contained in:
@@ -262,6 +262,12 @@ void NavigationLink3D::_notification(int p_what) {
|
|||||||
case NOTIFICATION_EXIT_TREE: {
|
case NOTIFICATION_EXIT_TREE: {
|
||||||
_link_exit_navigation_map();
|
_link_exit_navigation_map();
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
#ifdef DEBUG_ENABLED
|
||||||
|
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||||
|
_update_debug_mesh();
|
||||||
|
} break;
|
||||||
|
#endif // DEBUG_ENABLED
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user