Browse Source

Merge pull request #49857 from Calinou/occluder-generation-improve-error-message

Improve error message when there are no meshes to bake for 3D occlusion
Rémi Verschelde 4 years ago
parent
commit
52984a3915
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/plugins/occluder_instance_3d_editor_plugin.cpp

+ 1 - 1
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: {