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.
This commit is contained in:
Hans Goudey 2022-01-25 00:04:33 -06:00
parent 114b06b3cb
commit a2301b1d91
1 changed files with 5 additions and 1 deletions

View File

@ -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();
}