You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Improve error message when there are no meshes to bake for 3D occlusion
This commit is contained in:
@@ -56,7 +56,7 @@ void OccluderInstance3DEditorPlugin::_bake_select_file(const String &p_file) {
|
|||||||
|
|
||||||
} break;
|
} break;
|
||||||
case OccluderInstance3D::BAKE_ERROR_NO_MESHES: {
|
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;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
|
|||||||
Reference in New Issue
Block a user