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_set_point_radius.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_set_point_radius.cc13
1 files changed, 8 insertions, 5 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_set_point_radius.cc b/source/blender/nodes/geometry/nodes/node_geo_set_point_radius.cc
index 791bc8cde6c..9ff299542b4 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_set_point_radius.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_set_point_radius.cc
@@ -20,11 +20,14 @@ namespace blender::nodes {
static void geo_node_set_point_radius_declare(NodeDeclarationBuilder &b)
{
- b.add_input<decl::Geometry>("Points").supported_type(GEO_COMPONENT_TYPE_POINT_CLOUD);
- b.add_input<decl::Bool>("Selection").default_value(true).hide_value().supports_field();
- b.add_input<decl::Float>("Radius").default_value(0.05f).min(0.0f).supports_field().subtype(
- PROP_DISTANCE);
- b.add_output<decl::Geometry>("Points");
+ b.add_input<decl::Geometry>(N_("Points")).supported_type(GEO_COMPONENT_TYPE_POINT_CLOUD);
+ b.add_input<decl::Bool>(N_("Selection")).default_value(true).hide_value().supports_field();
+ b.add_input<decl::Float>(N_("Radius"))
+ .default_value(0.05f)
+ .min(0.0f)
+ .supports_field()
+ .subtype(PROP_DISTANCE);
+ b.add_output<decl::Geometry>(N_("Points"));
}
static void set_radius_in_component(GeometryComponent &component,