1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

fix lightmap cpu crashes

(cherry picked from commit 47b9afa3e9)
This commit is contained in:
Питанов Валера
2021-07-04 19:50:34 +10:00
committed by Rémi Verschelde
parent 1594678ed5
commit 051c5a7ed9
2 changed files with 11 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ void BakedLightmapEditorPlugin::_bake_select_file(const String &p_file) {
} break;
case BakedLightmap::BAKE_ERROR_NO_MESHES:
EditorNode::get_singleton()->show_warning(TTR("No meshes to bake. Make sure they contain an UV2 channel and that the 'Bake Light' flag is on."));
EditorNode::get_singleton()->show_warning(TTR("No meshes to bake. Make sure they contain an UV2 channel and that the 'Use In Baked Light' and 'Generate Lightmap' flags are on."));
break;
case BakedLightmap::BAKE_ERROR_CANT_CREATE_IMAGE:
EditorNode::get_singleton()->show_warning(TTR("Failed creating lightmap images, make sure path is writable."));