summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-06-23 15:52:17 +0200
committerGitHub <noreply@github.com>2021-06-23 15:52:17 +0200
commit52984a391570573aca421c66b397ad852f12ad21 (patch)
treec8c516ca6fd87cb84c859e0756b311a87771768c
parente55be041d80b6d3c5087e5a3b73ca1ebb03bdea8 (diff)
parent30fcf3045ac1cb4e46133bc8f428f91867813aa2 (diff)
Merge pull request #49857 from Calinou/occluder-generation-improve-error-message
Improve error message when there are no meshes to bake for 3D occlusion
-rw-r--r--editor/plugins/occluder_instance_3d_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/occluder_instance_3d_editor_plugin.cpp b/editor/plugins/occluder_instance_3d_editor_plugin.cpp
index 0821f140b3..b0cafd83be 100644
--- a/editor/plugins/occluder_instance_3d_editor_plugin.cpp
+++ b/editor/plugins/occluder_instance_3d_editor_plugin.cpp
@@ -56,7 +56,7 @@ void OccluderInstance3DEditorPlugin::_bake_select_file(const String &p_file) {
} break;
case OccluderInstance3D::BAKE_ERROR_NO_MESHES: {
- EditorNode::get_singleton()->show_warning(TTR("No meshes to bake."));
+ EditorNode::get_singleton()->show_warning(TTR("No meshes to bake.\nMake sure there is at least one MeshInstance3D node in the scene whose visual layers are part of the OccluderInstance3D's Bake Mask property."));
break;
}
default: {