Fix building with disable_3d

This commit is contained in:
A Thousand Ships 2024-03-16 11:03:06 +01:00
parent bbd9578d18
commit 0f6d2c3441
No known key found for this signature in database
GPG key ID: 2033189A662F8BD7

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() {