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

Tiny fix for lightmapper DDA

- Ensures only one axis advances at a time
- This fixes extremely corner cases where the DDA may skip over geometry
This commit is contained in:
Juan Linietsky
2023-12-28 17:51:19 +01:00
parent 13a0d6e9b2
commit caef2be758
2 changed files with 11 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ void LightmapGIEditorPlugin::_bake_select_file(const String &p_file) {
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."));
EditorNode::get_singleton()->show_warning(TTR("Maximum texture size is too small for the lightmap images.\nWhile this can be fixed by increasing the maximum texture size, it is recommended you split the scene into more objects instead."));
} break;
default: {
} break;