From 2a3e0d47ea5080fd2cabb3b8de9d85b4a6bbf20a Mon Sep 17 00:00:00 2001 From: demolke Date: Thu, 9 Jan 2025 00:30:35 +0100 Subject: [PATCH] LightmapGI: Including `modules_enabled.gen.h` to properly check the configuration warning --- scene/3d/lightmap_gi.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scene/3d/lightmap_gi.cpp b/scene/3d/lightmap_gi.cpp index fc37b76128e..37380fd2b46 100644 --- a/scene/3d/lightmap_gi.cpp +++ b/scene/3d/lightmap_gi.cpp @@ -34,13 +34,15 @@ #include "core/io/config_file.h" #include "core/math/delaunay_3d.h" #include "core/object/object.h" -#include "lightmap_probe.h" +#include "scene/3d/lightmap_probe.h" #include "scene/3d/mesh_instance_3d.h" #include "scene/resources/camera_attributes.h" #include "scene/resources/environment.h" #include "scene/resources/image_texture.h" #include "scene/resources/sky.h" +#include "modules/modules_enabled.gen.h" // For lightmapper_rd. + void LightmapGIData::add_user(const NodePath &p_path, const Rect2 &p_uv_scale, int p_slice_index, int32_t p_sub_instance) { User user; user.path = p_path;