1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

LightmapGI: Fix another missing include to check for lightmapper_rd in editor

This commit is contained in:
Rémi Verschelde
2025-01-09 12:53:12 +01:00
parent eb4a9977c3
commit a52291fcba

View File

@@ -34,6 +34,8 @@
#include "editor/editor_string_names.h" #include "editor/editor_string_names.h"
#include "editor/gui/editor_file_dialog.h" #include "editor/gui/editor_file_dialog.h"
#include "modules/modules_enabled.gen.h" // For lightmapper_rd.
void LightmapGIEditorPlugin::_bake_select_file(const String &p_file) { void LightmapGIEditorPlugin::_bake_select_file(const String &p_file) {
if (lightmap) { if (lightmap) {
LightmapGI::BakeError err = LightmapGI::BAKE_ERROR_OK; LightmapGI::BakeError err = LightmapGI::BAKE_ERROR_OK;