From 0f6d2c34411e25cb41eec5a872c7fb9b1af77cd9 Mon Sep 17 00:00:00 2001 From: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Date: Sat, 16 Mar 2024 11:03:06 +0100 Subject: [PATCH] Fix building with `disable_3d` --- scene/resources/world.cpp | 2 ++ 1 file changed, 2 insertions(+) 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() {