Sfoglia il codice sorgente

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

Rémi Verschelde 8 mesi fa
parent
commit
a52291fcba
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      editor/plugins/lightmap_gi_editor_plugin.cpp

+ 2 - 0
editor/plugins/lightmap_gi_editor_plugin.cpp

@@ -34,6 +34,8 @@
 #include "editor/editor_string_names.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) {
 	if (lightmap) {
 		LightmapGI::BakeError err = LightmapGI::BAKE_ERROR_OK;