summaryrefslogtreecommitdiffstats
path: root/editor/plugins/lightmap_gi_editor_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/lightmap_gi_editor_plugin.cpp')
-rw-r--r--editor/plugins/lightmap_gi_editor_plugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/lightmap_gi_editor_plugin.cpp b/editor/plugins/lightmap_gi_editor_plugin.cpp
index db5593a132..efd11cfab9 100644
--- a/editor/plugins/lightmap_gi_editor_plugin.cpp
+++ b/editor/plugins/lightmap_gi_editor_plugin.cpp
@@ -103,6 +103,9 @@ void LightmapGIEditorPlugin::_bake_select_file(const String &p_file) {
case LightmapGI::BAKE_ERROR_FOREIGN_DATA: {
EditorNode::get_singleton()->show_warning(TTR("Lightmap data is not local to the scene."));
} break;
+ case LightmapGI::BAKE_ERROR_TEXTURE_SIZE_TOO_SMALL: {
+ EditorNode::get_singleton()->show_warning(TTR("Maximum texture size is too small for the lightmap images."));
+ } break;
default: {
} break;
}