diff options
author | Hans Goudey <h.goudey@me.com> | 2022-06-29 00:03:04 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-06-29 00:03:04 +0300 |
commit | 2d18dd9309556e896037f30e8f72a7831c6e44e8 (patch) | |
tree | d967a361d45de173a37f73206111b7cc6cf73ad8 /source/blender | |
parent | 1c61db5346d05113ced80d174a80539666e5d97d (diff) |
Fix: Use distance unit for points node radius input
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_points.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_points.cc b/source/blender/nodes/geometry/nodes/node_geo_points.cc index 42a760906e1..ced41c6c85c 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_points.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_points.cc @@ -20,7 +20,7 @@ static void node_declare(NodeDeclarationBuilder &b) .description(N_("The positions of the new points")); b.add_input<decl::Float>(N_("Radius")) .supports_field() - .supports_field() + .subtype(PROP_DISTANCE) .default_value(float(0.1f)) .description(N_("The radii of the new points")); b.add_output<decl::Geometry>(N_("Geometry")); |