Merge pull request #89565 from AThousandShips/no_3d_fix_3_x

[3.x] Fix building with `disable_3d`
This commit is contained in:
lawnjelly 2024-03-16 14:05:01 +00:00 committed by GitHub
commit ac7292ffaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -331,9 +331,11 @@ void World::get_camera_list(List<Camera *> *r_cameras) {
} }
void World::notify_saving(bool p_active) { void World::notify_saving(bool p_active) {
#ifndef _3D_DISABLED
if (lod_manager) { if (lod_manager) {
lod_manager->notify_saving(p_active); lod_manager->notify_saving(p_active);
} }
#endif
} }
void World::_bind_methods() { void World::_bind_methods() {