You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Ensure the visibility is updated when entering the tree
This commit is contained in:
@@ -906,13 +906,14 @@ void GridMap::_notification(int p_what) {
|
||||
}
|
||||
} break;
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
#ifdef DEBUG_ENABLED
|
||||
if (bake_navigation && NavigationServer3D::get_singleton()->get_debug_navigation_enabled()) {
|
||||
_update_navigation_debug_edge_connections();
|
||||
}
|
||||
} break;
|
||||
#endif // DEBUG_ENABLED
|
||||
_update_visibility();
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_TRANSFORM_CHANGED: {
|
||||
Transform3D new_xform = get_global_transform();
|
||||
|
||||
Reference in New Issue
Block a user