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:
authorHans Goudey <h.goudey@me.com>2022-01-25 09:04:33 +0300
committerHans Goudey <h.goudey@me.com>2022-01-25 09:04:33 +0300
commita2301b1d9110a16c84b6fcf539f8099d7eb0ae65 (patch)
tree15b4221fe64d51d2ab21b5f6513ecebb82d59bb5
parent114b06b3cb5f8d1588a9065e30eea701586b7f76 (diff)
Geometry Nodes: Add description to curve handle input node
The "Relative" input isn't immediately obvious unless one is familar with that naming pattern, so an explicit description may be helpful.
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_input_curve_handles.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_input_curve_handles.cc b/source/blender/nodes/geometry/nodes/node_geo_input_curve_handles.cc
index fbf6b521fd8..b1144b58c37 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_input_curve_handles.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_input_curve_handles.cc
@@ -22,7 +22,11 @@ namespace blender::nodes::node_geo_input_curve_handles_cc {
static void node_declare(NodeDeclarationBuilder &b)
{
- b.add_input<decl::Bool>(N_("Relative")).default_value(false).supports_field();
+ b.add_input<decl::Bool>(N_("Relative"))
+ .default_value(false)
+ .supports_field()
+ .description(N_("Output the handle positions relative to the corresponding control point "
+ "instead of in the local space of the geometry"));
b.add_output<decl::Vector>(N_("Left")).field_source();
b.add_output<decl::Vector>(N_("Right")).field_source();
}