LightmapGI: Including modules_enabled.gen.h to properly check the configuration warning

This commit is contained in:
demolke
2025-01-09 00:30:35 +01:00
committed by Rémi Verschelde
parent 6f3cc27423
commit 2a3e0d47ea

View File

@@ -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;