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
path: root/source
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-06-29 00:03:04 +0300
committerHans Goudey <h.goudey@me.com>2022-06-29 00:03:04 +0300
commit2d18dd9309556e896037f30e8f72a7831c6e44e8 (patch)
treed967a361d45de173a37f73206111b7cc6cf73ad8 /source
parent1c61db5346d05113ced80d174a80539666e5d97d (diff)
Fix: Use distance unit for points node radius input
Diffstat (limited to 'source')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_points.cc2
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"));