[Bf-blender-cvs] [a2301b1d911] master: Geometry Nodes: Add description to curve handle input node

Hans Goudey noreply at git.blender.org
Tue Jan 25 07:04:42 CET 2022


Commit: a2301b1d9110a16c84b6fcf539f8099d7eb0ae65
Author: Hans Goudey
Date:   Tue Jan 25 00:04:33 2022 -0600
Branches: master
https://developer.blender.org/rBa2301b1d9110a16c84b6fcf539f8099d7eb0ae65

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.

===================================================================

M	source/blender/nodes/geometry/nodes/node_geo_input_curve_handles.cc

===================================================================

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



More information about the Bf-blender-cvs mailing list