Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_curve_endpoint_selection.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_curve_endpoint_selection.cc13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_endpoint_selection.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_endpoint_selection.cc
index fbe5af3bb18..42d88cdb1e7 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_curve_endpoint_selection.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_curve_endpoint_selection.cc
@@ -25,19 +25,20 @@ namespace blender::nodes {
static void geo_node_curve_endpoint_selection_declare(NodeDeclarationBuilder &b)
{
- b.add_input<decl::Int>("Start Size")
+ b.add_input<decl::Int>(N_("Start Size"))
.min(0)
.default_value(1)
.supports_field()
- .description("The amount of points to select from the start of each spline");
- b.add_input<decl::Int>("End Size")
+ .description(N_("The amount of points to select from the start of each spline"));
+ b.add_input<decl::Int>(N_("End Size"))
.min(0)
.default_value(1)
.supports_field()
- .description("The amount of points to select from the end of each spline");
- b.add_output<decl::Bool>("Selection")
+ .description(N_("The amount of points to select from the end of each spline"));
+ b.add_output<decl::Bool>(N_("Selection"))
.field_source()
- .description("The selection from the start and end of the splines based on the input sizes");
+ .description(
+ N_("The selection from the start and end of the splines based on the input sizes"));
}
static void select_by_spline(const int start, const int end, MutableSpan<bool> r_selection)