Skip to content

Commit eb4a997

Browse files
committed
Merge pull request godotengine#101323 from demolke/modenable
LightmapGI: Including `modules_enabled.gen.h` to properly check the configuration warning
2 parents 837d093 + 2a3e0d4 commit eb4a997

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scene/3d/lightmap_gi.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,15 @@
3434
#include "core/io/config_file.h"
3535
#include "core/math/delaunay_3d.h"
3636
#include "core/object/object.h"
37-
#include "lightmap_probe.h"
37+
#include "scene/3d/lightmap_probe.h"
3838
#include "scene/3d/mesh_instance_3d.h"
3939
#include "scene/resources/camera_attributes.h"
4040
#include "scene/resources/environment.h"
4141
#include "scene/resources/image_texture.h"
4242
#include "scene/resources/sky.h"
4343

44+
#include "modules/modules_enabled.gen.h" // For lightmapper_rd.
45+
4446
void LightmapGIData::add_user(const NodePath &p_path, const Rect2 &p_uv_scale, int p_slice_index, int32_t p_sub_instance) {
4547
User user;
4648
user.path = p_path;

0 commit comments

Comments
 (0)