Fix building with disable_3d

This commit is contained in:
A Thousand Ships 2024-03-16 11:03:06 +01:00 committed by Relintai
parent a607ec6545
commit 240585c58b

View File

@ -356,9 +356,11 @@ void World3D::move_cameras_into(Ref<World3D> target) {
} }
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 World3D::_bind_methods() { void World3D::_bind_methods() {