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-26 23:22:23 +0300
committerHans Goudey <h.goudey@me.com>2022-01-26 23:22:23 +0300
commitcab1f1d9a2347c52a07697d2305f4416ff0de84d (patch)
treef63907770014e239f8d2f406f2a06127cc2f83fc /source/blender/nodes/geometry/nodes/node_geo_input_id.cc
parent7b615ca186cab53736fe656d894814c6f92de0e3 (diff)
Geometry Nodes: Add or improve various socket descriptions
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_input_id.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_input_id.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_input_id.cc b/source/blender/nodes/geometry/nodes/node_geo_input_id.cc
index 3fe0588a46d..afe7546f7e5 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_input_id.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_input_id.cc
@@ -20,7 +20,9 @@ namespace blender::nodes::node_geo_input_id_cc {
static void node_declare(NodeDeclarationBuilder &b)
{
- b.add_output<decl::Int>(N_("ID")).field_source();
+ b.add_output<decl::Int>(N_("ID")).field_source().description(
+ N_("The values from the \"id\" attribute on points, or the index if that attribute does not "
+ "exist"));
}
static void node_geo_exec(GeoNodeExecParams params)