diff --git a/scene/resources/world.cpp b/scene/resources/world.cpp index 24f219abdaf..93b61523cd3 100644 --- a/scene/resources/world.cpp +++ b/scene/resources/world.cpp @@ -331,9 +331,11 @@ void World::get_camera_list(List *r_cameras) { } void World::notify_saving(bool p_active) { +#ifndef _3D_DISABLED if (lod_manager) { lod_manager->notify_saving(p_active); } +#endif } void World::_bind_methods() {