diff options
author | Jacques Lucke <jacques@blender.org> | 2021-03-05 12:22:39 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-03-05 12:22:39 +0300 |
commit | 381e2d4dc2b2773e348bfb481ab22bb9d553986c (patch) | |
tree | 6f41b98209a8203391c40a19c3d7fb41b8ea3fa2 /source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc | |
parent | cf6208382eb6142085e7ce3052b177344ea156cc (diff) | |
parent | b5d154f400e46ba322f0e08a231bb2557bf51a1e (diff) |
Merge branch 'master' into temp-spreadsheet-editortemp-spreadsheet-editor
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc b/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc index d9878d54353..c40cb2bb0ae 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc @@ -429,7 +429,7 @@ static void geo_node_point_distribute_exec(GeoNodeExecParams params) params.node().custom1); if (!geometry_set.has_mesh()) { - params.error_message_add(NodeWarningType::Error, "Geometry must contain a mesh."); + params.error_message_add(NodeWarningType::Error, TIP_("Geometry must contain a mesh")); params.set_output("Geometry", std::move(geometry_set_out)); return; } @@ -446,7 +446,7 @@ static void geo_node_point_distribute_exec(GeoNodeExecParams params) const Mesh *mesh_in = mesh_component.get_for_read(); if (mesh_in->mpoly == nullptr) { - params.error_message_add(NodeWarningType::Error, "Mesh has no faces."); + params.error_message_add(NodeWarningType::Error, TIP_("Mesh has no faces")); params.set_output("Geometry", std::move(geometry_set_out)); return; } |