From dacae33cbec0a69007598bfff1728c8020c357be Mon Sep 17 00:00:00 2001 From: quackarooni Date: Thu, 11 Sep 2025 20:03:35 +0200 Subject: [PATCH] Nodes: Add missing tooltip descriptions for various nodes Add a description for function nodes and a few geometry nodes and a few shader nodes. Pull Request: https://projects.blender.org/blender/blender/pulls/145772 --- .../nodes/function/nodes/node_fn_align_euler_to_vector.cc | 1 + .../nodes/function/nodes/node_fn_align_rotation_to_vector.cc | 1 + .../nodes/function/nodes/node_fn_axis_angle_to_rotation.cc | 1 + source/blender/nodes/function/nodes/node_fn_boolean_math.cc | 1 + source/blender/nodes/function/nodes/node_fn_combine_color.cc | 2 ++ .../blender/nodes/function/nodes/node_fn_combine_transform.cc | 2 ++ source/blender/nodes/function/nodes/node_fn_compare.cc | 1 + .../blender/nodes/function/nodes/node_fn_euler_to_rotation.cc | 1 + source/blender/nodes/function/nodes/node_fn_find_in_string.cc | 3 +++ source/blender/nodes/function/nodes/node_fn_float_to_int.cc | 2 ++ source/blender/nodes/function/nodes/node_fn_hash_value.cc | 1 + source/blender/nodes/function/nodes/node_fn_input_bool.cc | 2 ++ source/blender/nodes/function/nodes/node_fn_input_color.cc | 1 + source/blender/nodes/function/nodes/node_fn_input_int.cc | 2 ++ source/blender/nodes/function/nodes/node_fn_input_rotation.cc | 2 ++ .../nodes/function/nodes/node_fn_input_special_characters.cc | 2 ++ source/blender/nodes/function/nodes/node_fn_input_string.cc | 1 + source/blender/nodes/function/nodes/node_fn_input_vector.cc | 1 + source/blender/nodes/function/nodes/node_fn_integer_math.cc | 1 + source/blender/nodes/function/nodes/node_fn_invert_matrix.cc | 1 + source/blender/nodes/function/nodes/node_fn_invert_rotation.cc | 1 + source/blender/nodes/function/nodes/node_fn_match_string.cc | 1 + .../blender/nodes/function/nodes/node_fn_matrix_determinant.cc | 1 + source/blender/nodes/function/nodes/node_fn_matrix_multiply.cc | 1 + .../nodes/function/nodes/node_fn_quaternion_to_rotation.cc | 1 + source/blender/nodes/function/nodes/node_fn_random_value.cc | 1 + source/blender/nodes/function/nodes/node_fn_replace_string.cc | 1 + source/blender/nodes/function/nodes/node_fn_rotate_euler.cc | 1 + source/blender/nodes/function/nodes/node_fn_rotate_rotation.cc | 1 + source/blender/nodes/function/nodes/node_fn_rotate_vector.cc | 1 + .../nodes/function/nodes/node_fn_rotation_to_axis_angle.cc | 1 + .../blender/nodes/function/nodes/node_fn_rotation_to_euler.cc | 1 + .../nodes/function/nodes/node_fn_rotation_to_quaternion.cc | 1 + source/blender/nodes/function/nodes/node_fn_separate_color.cc | 1 + .../blender/nodes/function/nodes/node_fn_separate_transform.cc | 2 ++ source/blender/nodes/function/nodes/node_fn_slice_string.cc | 1 + source/blender/nodes/function/nodes/node_fn_string_length.cc | 1 + source/blender/nodes/function/nodes/node_fn_string_to_value.cc | 1 + .../nodes/function/nodes/node_fn_transform_direction.cc | 2 ++ source/blender/nodes/function/nodes/node_fn_transform_point.cc | 1 + .../blender/nodes/function/nodes/node_fn_transpose_matrix.cc | 2 ++ source/blender/nodes/function/nodes/node_fn_value_to_string.cc | 1 + .../blender/nodes/geometry/nodes/node_geo_evaluate_closure.cc | 1 + source/blender/nodes/geometry/nodes/node_geo_list_length.cc | 2 +- source/blender/nodes/geometry/nodes/node_geo_sample_grid.cc | 1 + .../blender/nodes/shader/nodes/node_shader_output_linestyle.cc | 2 ++ .../blender/nodes/shader/nodes/node_shader_tex_white_noise.cc | 2 +- .../blender/nodes/shader/nodes/node_shader_uv_along_stroke.cc | 1 + 48 files changed, 61 insertions(+), 2 deletions(-) diff --git a/source/blender/nodes/function/nodes/node_fn_align_euler_to_vector.cc b/source/blender/nodes/function/nodes/node_fn_align_euler_to_vector.cc index ced2d5054cc..128a5503496 100644 --- a/source/blender/nodes/function/nodes/node_fn_align_euler_to_vector.cc +++ b/source/blender/nodes/function/nodes/node_fn_align_euler_to_vector.cc @@ -261,6 +261,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeAlignEulerToVector", FN_NODE_ALIGN_EULER_TO_VECTOR); ntype.ui_name = "Align Euler to Vector"; + ntype.ui_description = "Orient an Euler rotation along the given direction"; ntype.enum_name_legacy = "ALIGN_EULER_TO_VECTOR"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_align_rotation_to_vector.cc b/source/blender/nodes/function/nodes/node_fn_align_rotation_to_vector.cc index 379f9a52f9a..c330077f927 100644 --- a/source/blender/nodes/function/nodes/node_fn_align_rotation_to_vector.cc +++ b/source/blender/nodes/function/nodes/node_fn_align_rotation_to_vector.cc @@ -233,6 +233,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeAlignRotationToVector", FN_NODE_ALIGN_ROTATION_TO_VECTOR); ntype.ui_name = "Align Rotation to Vector"; + ntype.ui_description = "Orient a rotation along the given direction"; ntype.enum_name_legacy = "ALIGN_ROTATION_TO_VECTOR"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_axis_angle_to_rotation.cc b/source/blender/nodes/function/nodes/node_fn_axis_angle_to_rotation.cc index b279d6fc7b5..5431003a972 100644 --- a/source/blender/nodes/function/nodes/node_fn_axis_angle_to_rotation.cc +++ b/source/blender/nodes/function/nodes/node_fn_axis_angle_to_rotation.cc @@ -69,6 +69,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeAxisAngleToRotation", FN_NODE_AXIS_ANGLE_TO_ROTATION); ntype.ui_name = "Axis Angle to Rotation"; + ntype.ui_description = "Build a rotation from an axis and a rotation around that axis"; ntype.enum_name_legacy = "AXIS_ANGLE_TO_ROTATION"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_boolean_math.cc b/source/blender/nodes/function/nodes/node_fn_boolean_math.cc index f157e562ba4..cc36edafdb4 100644 --- a/source/blender/nodes/function/nodes/node_fn_boolean_math.cc +++ b/source/blender/nodes/function/nodes/node_fn_boolean_math.cc @@ -191,6 +191,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeBooleanMath", FN_NODE_BOOLEAN_MATH); ntype.ui_name = "Boolean Math"; + ntype.ui_description = "Perform a logical operation on the given boolean inputs"; ntype.enum_name_legacy = "BOOLEAN_MATH"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_combine_color.cc b/source/blender/nodes/function/nodes/node_fn_combine_color.cc index 2b9e8f6086d..8934a87ab5a 100644 --- a/source/blender/nodes/function/nodes/node_fn_combine_color.cc +++ b/source/blender/nodes/function/nodes/node_fn_combine_color.cc @@ -101,6 +101,8 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeCombineColor", FN_NODE_COMBINE_COLOR); ntype.ui_name = "Combine Color"; + ntype.ui_description = + "Combine four channels into a single color, based on a particular color model"; ntype.enum_name_legacy = "COMBINE_COLOR"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_combine_transform.cc b/source/blender/nodes/function/nodes/node_fn_combine_transform.cc index ab7ec3de751..c8080b7293b 100644 --- a/source/blender/nodes/function/nodes/node_fn_combine_transform.cc +++ b/source/blender/nodes/function/nodes/node_fn_combine_transform.cc @@ -114,6 +114,8 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeCombineTransform", FN_NODE_COMBINE_TRANSFORM); ntype.ui_name = "Combine Transform"; + ntype.ui_description = + "Combine a translation vector, a rotation, and a scale vector into a transformation matrix"; ntype.enum_name_legacy = "COMBINE_TRANSFORM"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_compare.cc b/source/blender/nodes/function/nodes/node_fn_compare.cc index 11e2133e3ac..cebc13543dd 100644 --- a/source/blender/nodes/function/nodes/node_fn_compare.cc +++ b/source/blender/nodes/function/nodes/node_fn_compare.cc @@ -738,6 +738,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeCompare", FN_NODE_COMPARE); ntype.ui_name = "Compare"; + ntype.ui_description = "Perform a comparison operation on the two given inputs"; ntype.enum_name_legacy = "COMPARE"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_euler_to_rotation.cc b/source/blender/nodes/function/nodes/node_fn_euler_to_rotation.cc index 04940a412d6..f1d50029df1 100644 --- a/source/blender/nodes/function/nodes/node_fn_euler_to_rotation.cc +++ b/source/blender/nodes/function/nodes/node_fn_euler_to_rotation.cc @@ -57,6 +57,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeEulerToRotation", FN_NODE_EULER_TO_ROTATION); ntype.ui_name = "Euler to Rotation"; + ntype.ui_description = "Build a rotation from separate angles around each axis"; ntype.enum_name_legacy = "EULER_TO_ROTATION"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_find_in_string.cc b/source/blender/nodes/function/nodes/node_fn_find_in_string.cc index 9129ec426d5..777cd2988dd 100644 --- a/source/blender/nodes/function/nodes/node_fn_find_in_string.cc +++ b/source/blender/nodes/function/nodes/node_fn_find_in_string.cc @@ -60,6 +60,9 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeFindInString", FN_NODE_FIND_IN_STRING); ntype.ui_name = "Find in String"; + ntype.ui_description = + "Find the number of times a given string occurs in another string and the position of the " + "first match"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; ntype.build_multi_function = node_build_multi_function; diff --git a/source/blender/nodes/function/nodes/node_fn_float_to_int.cc b/source/blender/nodes/function/nodes/node_fn_float_to_int.cc index c1b8265db80..b5593d32cc1 100644 --- a/source/blender/nodes/function/nodes/node_fn_float_to_int.cc +++ b/source/blender/nodes/function/nodes/node_fn_float_to_int.cc @@ -79,6 +79,8 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeFloatToInt", FN_NODE_FLOAT_TO_INT); ntype.ui_name = "Float to Integer"; + ntype.ui_description = + "Convert the given floating-point number to an integer, with a choice of methods"; ntype.enum_name_legacy = "FLOAT_TO_INT"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_hash_value.cc b/source/blender/nodes/function/nodes/node_fn_hash_value.cc index 2f8a7dea9b6..958f6fb4950 100644 --- a/source/blender/nodes/function/nodes/node_fn_hash_value.cc +++ b/source/blender/nodes/function/nodes/node_fn_hash_value.cc @@ -177,6 +177,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeHashValue", FN_NODE_HASH_VALUE); ntype.ui_name = "Hash Value"; + ntype.ui_description = "Generate a randomized integer using the given input value as a seed"; ntype.enum_name_legacy = "HASH_VALUE"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_input_bool.cc b/source/blender/nodes/function/nodes/node_fn_input_bool.cc index 6aa7c4d7a3e..77e20e22034 100644 --- a/source/blender/nodes/function/nodes/node_fn_input_bool.cc +++ b/source/blender/nodes/function/nodes/node_fn_input_bool.cc @@ -42,6 +42,8 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeInputBool", FN_NODE_INPUT_BOOL); ntype.ui_name = "Boolean"; + ntype.ui_description = + "Provide a True/False value that can be connected to other nodes in the tree"; ntype.enum_name_legacy = "INPUT_BOOL"; ntype.nclass = NODE_CLASS_INPUT; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_input_color.cc b/source/blender/nodes/function/nodes/node_fn_input_color.cc index ab2f233f6d7..140db1e1de9 100644 --- a/source/blender/nodes/function/nodes/node_fn_input_color.cc +++ b/source/blender/nodes/function/nodes/node_fn_input_color.cc @@ -43,6 +43,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeInputColor", FN_NODE_INPUT_COLOR); ntype.ui_name = "Color"; + ntype.ui_description = "Output a color value chosen with the color picker widget"; ntype.enum_name_legacy = "INPUT_COLOR"; ntype.nclass = NODE_CLASS_INPUT; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_input_int.cc b/source/blender/nodes/function/nodes/node_fn_input_int.cc index b2cc758744e..78cdd5b1897 100644 --- a/source/blender/nodes/function/nodes/node_fn_input_int.cc +++ b/source/blender/nodes/function/nodes/node_fn_input_int.cc @@ -42,6 +42,8 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeInputInt", FN_NODE_INPUT_INT); ntype.ui_name = "Integer"; + ntype.ui_description = + "Provide an integer value that can be connected to other nodes in the tree"; ntype.enum_name_legacy = "INPUT_INT"; ntype.nclass = NODE_CLASS_INPUT; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_input_rotation.cc b/source/blender/nodes/function/nodes/node_fn_input_rotation.cc index e20194019fc..6b14dd65bfb 100644 --- a/source/blender/nodes/function/nodes/node_fn_input_rotation.cc +++ b/source/blender/nodes/function/nodes/node_fn_input_rotation.cc @@ -48,6 +48,8 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeInputRotation", FN_NODE_INPUT_ROTATION); ntype.ui_name = "Rotation"; + ntype.ui_description = + "Provide a rotation value that can be connected to other nodes in the tree"; ntype.enum_name_legacy = "INPUT_ROTATION"; ntype.nclass = NODE_CLASS_INPUT; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_input_special_characters.cc b/source/blender/nodes/function/nodes/node_fn_input_special_characters.cc index 3811b0ea6f1..ca2d6761f10 100644 --- a/source/blender/nodes/function/nodes/node_fn_input_special_characters.cc +++ b/source/blender/nodes/function/nodes/node_fn_input_special_characters.cc @@ -51,6 +51,8 @@ static void node_register() fn_node_type_base( &ntype, "FunctionNodeInputSpecialCharacters", FN_NODE_INPUT_SPECIAL_CHARACTERS); ntype.ui_name = "Special Characters"; + ntype.ui_description = + "Output string characters that cannot be typed directly with the keyboard"; ntype.enum_name_legacy = "INPUT_SPECIAL_CHARACTERS"; ntype.nclass = NODE_CLASS_INPUT; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_input_string.cc b/source/blender/nodes/function/nodes/node_fn_input_string.cc index 054b84171cb..202c8daa286 100644 --- a/source/blender/nodes/function/nodes/node_fn_input_string.cc +++ b/source/blender/nodes/function/nodes/node_fn_input_string.cc @@ -113,6 +113,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeInputString", FN_NODE_INPUT_STRING); ntype.ui_name = "String"; + ntype.ui_description = "Provide a string value that can be connected to other nodes in the tree"; ntype.enum_name_legacy = "INPUT_STRING"; ntype.nclass = NODE_CLASS_INPUT; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_input_vector.cc b/source/blender/nodes/function/nodes/node_fn_input_vector.cc index 3cb11a94b0f..d85444ed0e3 100644 --- a/source/blender/nodes/function/nodes/node_fn_input_vector.cc +++ b/source/blender/nodes/function/nodes/node_fn_input_vector.cc @@ -42,6 +42,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeInputVector", FN_NODE_INPUT_VECTOR); ntype.ui_name = "Vector"; + ntype.ui_description = "Provide a vector value that can be connected to other nodes in the tree"; ntype.enum_name_legacy = "INPUT_VECTOR"; ntype.nclass = NODE_CLASS_INPUT; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_integer_math.cc b/source/blender/nodes/function/nodes/node_fn_integer_math.cc index 3a3e5f40fc6..64a028d500d 100644 --- a/source/blender/nodes/function/nodes/node_fn_integer_math.cc +++ b/source/blender/nodes/function/nodes/node_fn_integer_math.cc @@ -306,6 +306,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeIntegerMath", FN_NODE_INTEGER_MATH); ntype.ui_name = "Integer Math"; + ntype.ui_description = "Perform various math operations on the given integer inputs"; ntype.enum_name_legacy = "INTEGER_MATH"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_invert_matrix.cc b/source/blender/nodes/function/nodes/node_fn_invert_matrix.cc index 306dc08cf30..c5a57db605c 100644 --- a/source/blender/nodes/function/nodes/node_fn_invert_matrix.cc +++ b/source/blender/nodes/function/nodes/node_fn_invert_matrix.cc @@ -67,6 +67,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeInvertMatrix", FN_NODE_INVERT_MATRIX); ntype.ui_name = "Invert Matrix"; + ntype.ui_description = "Compute the inverse of the given matrix, if one exists"; ntype.enum_name_legacy = "INVERT_MATRIX"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_invert_rotation.cc b/source/blender/nodes/function/nodes/node_fn_invert_rotation.cc index c12bff958a5..8342e413b49 100644 --- a/source/blender/nodes/function/nodes/node_fn_invert_rotation.cc +++ b/source/blender/nodes/function/nodes/node_fn_invert_rotation.cc @@ -29,6 +29,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeInvertRotation", FN_NODE_INVERT_ROTATION); ntype.ui_name = "Invert Rotation"; + ntype.ui_description = "Compute the inverse of the given rotation"; ntype.enum_name_legacy = "INVERT_ROTATION"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_match_string.cc b/source/blender/nodes/function/nodes/node_fn_match_string.cc index 192112d21fb..7d79dfcfe57 100644 --- a/source/blender/nodes/function/nodes/node_fn_match_string.cc +++ b/source/blender/nodes/function/nodes/node_fn_match_string.cc @@ -116,6 +116,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeMatchString"); ntype.ui_name = "Match String"; + ntype.ui_description = "Check if a given string exists within another string"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; ntype.labelfunc = node_label; diff --git a/source/blender/nodes/function/nodes/node_fn_matrix_determinant.cc b/source/blender/nodes/function/nodes/node_fn_matrix_determinant.cc index 6b419d653db..a9a03cdf087 100644 --- a/source/blender/nodes/function/nodes/node_fn_matrix_determinant.cc +++ b/source/blender/nodes/function/nodes/node_fn_matrix_determinant.cc @@ -27,6 +27,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeMatrixDeterminant", FN_NODE_MATRIX_DETERMINANT); ntype.ui_name = "Matrix Determinant"; + ntype.ui_description = "Compute the determinant of the given matrix"; ntype.enum_name_legacy = "MATRIX_DETERMINANT"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_matrix_multiply.cc b/source/blender/nodes/function/nodes/node_fn_matrix_multiply.cc index d157af0e766..3eec38091c4 100644 --- a/source/blender/nodes/function/nodes/node_fn_matrix_multiply.cc +++ b/source/blender/nodes/function/nodes/node_fn_matrix_multiply.cc @@ -52,6 +52,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeMatrixMultiply", FN_NODE_MATRIX_MULTIPLY); ntype.ui_name = "Multiply Matrices"; + ntype.ui_description = "Perform a matrix multiplication on two input matrices"; ntype.enum_name_legacy = "MATRIX_MULTIPLY"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_quaternion_to_rotation.cc b/source/blender/nodes/function/nodes/node_fn_quaternion_to_rotation.cc index caf857ecae4..da198721837 100644 --- a/source/blender/nodes/function/nodes/node_fn_quaternion_to_rotation.cc +++ b/source/blender/nodes/function/nodes/node_fn_quaternion_to_rotation.cc @@ -33,6 +33,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeQuaternionToRotation", FN_NODE_QUATERNION_TO_ROTATION); ntype.ui_name = "Quaternion to Rotation"; + ntype.ui_description = "Build a rotation from quaternion components"; ntype.enum_name_legacy = "QUATERNION_TO_ROTATION"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_random_value.cc b/source/blender/nodes/function/nodes/node_fn_random_value.cc index c7317636209..e8180d75486 100644 --- a/source/blender/nodes/function/nodes/node_fn_random_value.cc +++ b/source/blender/nodes/function/nodes/node_fn_random_value.cc @@ -200,6 +200,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeRandomValue", FN_NODE_RANDOM_VALUE); ntype.ui_name = "Random Value"; + ntype.ui_description = "Output a randomized value"; ntype.enum_name_legacy = "RANDOM_VALUE"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.initfunc = fn_node_random_value_init; diff --git a/source/blender/nodes/function/nodes/node_fn_replace_string.cc b/source/blender/nodes/function/nodes/node_fn_replace_string.cc index 953b0a73e72..1051f8c4d2b 100644 --- a/source/blender/nodes/function/nodes/node_fn_replace_string.cc +++ b/source/blender/nodes/function/nodes/node_fn_replace_string.cc @@ -46,6 +46,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeReplaceString", FN_NODE_REPLACE_STRING); ntype.ui_name = "Replace String"; + ntype.ui_description = "Replace a given string segment with another"; ntype.enum_name_legacy = "REPLACE_STRING"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_rotate_euler.cc b/source/blender/nodes/function/nodes/node_fn_rotate_euler.cc index 88386fa63f7..cb1a88225e7 100644 --- a/source/blender/nodes/function/nodes/node_fn_rotate_euler.cc +++ b/source/blender/nodes/function/nodes/node_fn_rotate_euler.cc @@ -133,6 +133,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeRotateEuler", FN_NODE_ROTATE_EULER); ntype.ui_name = "Rotate Euler"; + ntype.ui_description = "Apply a secondary Euler rotation to a given Euler rotation"; ntype.enum_name_legacy = "ROTATE_EULER"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_rotate_rotation.cc b/source/blender/nodes/function/nodes/node_fn_rotate_rotation.cc index 4c6e1a0e90e..2eb347ad736 100644 --- a/source/blender/nodes/function/nodes/node_fn_rotate_rotation.cc +++ b/source/blender/nodes/function/nodes/node_fn_rotate_rotation.cc @@ -79,6 +79,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeRotateRotation", FN_NODE_ROTATE_ROTATION); ntype.ui_name = "Rotate Rotation"; + ntype.ui_description = "Apply a secondary rotation to a given rotation value"; ntype.enum_name_legacy = "ROTATE_ROTATION"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_rotate_vector.cc b/source/blender/nodes/function/nodes/node_fn_rotate_vector.cc index c865b2e9bbb..411b686b447 100644 --- a/source/blender/nodes/function/nodes/node_fn_rotate_vector.cc +++ b/source/blender/nodes/function/nodes/node_fn_rotate_vector.cc @@ -31,6 +31,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeRotateVector", FN_NODE_ROTATE_VECTOR); ntype.ui_name = "Rotate Vector"; + ntype.ui_description = "Apply a rotation to a given vector"; ntype.enum_name_legacy = "ROTATE_VECTOR"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_rotation_to_axis_angle.cc b/source/blender/nodes/function/nodes/node_fn_rotation_to_axis_angle.cc index e81eb9653d6..6dcf6fbe777 100644 --- a/source/blender/nodes/function/nodes/node_fn_rotation_to_axis_angle.cc +++ b/source/blender/nodes/function/nodes/node_fn_rotation_to_axis_angle.cc @@ -91,6 +91,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeRotationToAxisAngle", FN_NODE_ROTATION_TO_AXIS_ANGLE); ntype.ui_name = "Rotation to Axis Angle"; + ntype.ui_description = "Convert a rotation to axis angle components"; ntype.enum_name_legacy = "ROTATION_TO_AXIS_ANGLE"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_rotation_to_euler.cc b/source/blender/nodes/function/nodes/node_fn_rotation_to_euler.cc index ac43d06efe1..f137d50e1c1 100644 --- a/source/blender/nodes/function/nodes/node_fn_rotation_to_euler.cc +++ b/source/blender/nodes/function/nodes/node_fn_rotation_to_euler.cc @@ -56,6 +56,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeRotationToEuler", FN_NODE_ROTATION_TO_EULER); ntype.ui_name = "Rotation to Euler"; + ntype.ui_description = "Convert a standard rotation value to an Euler rotation"; ntype.enum_name_legacy = "ROTATION_TO_EULER"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_rotation_to_quaternion.cc b/source/blender/nodes/function/nodes/node_fn_rotation_to_quaternion.cc index ebc73ded922..473f2337673 100644 --- a/source/blender/nodes/function/nodes/node_fn_rotation_to_quaternion.cc +++ b/source/blender/nodes/function/nodes/node_fn_rotation_to_quaternion.cc @@ -61,6 +61,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeRotationToQuaternion", FN_NODE_ROTATION_TO_QUATERNION); ntype.ui_name = "Rotation to Quaternion"; + ntype.ui_description = "Retrieve the quaternion components representing a rotation"; ntype.enum_name_legacy = "ROTATION_TO_QUATERNION"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_separate_color.cc b/source/blender/nodes/function/nodes/node_fn_separate_color.cc index 46b802b5161..8ea53c73091 100644 --- a/source/blender/nodes/function/nodes/node_fn_separate_color.cc +++ b/source/blender/nodes/function/nodes/node_fn_separate_color.cc @@ -219,6 +219,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeSeparateColor", FN_NODE_SEPARATE_COLOR); ntype.ui_name = "Separate Color"; + ntype.ui_description = "Split a color into separate channels, based on a particular color model"; ntype.enum_name_legacy = "SEPARATE_COLOR"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_separate_transform.cc b/source/blender/nodes/function/nodes/node_fn_separate_transform.cc index 93f8552e80c..a86bfda3700 100644 --- a/source/blender/nodes/function/nodes/node_fn_separate_transform.cc +++ b/source/blender/nodes/function/nodes/node_fn_separate_transform.cc @@ -108,6 +108,8 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeSeparateTransform", FN_NODE_SEPARATE_TRANSFORM); ntype.ui_name = "Separate Transform"; + ntype.ui_description = + "Split a transformation matrix into a translation vector, a rotation, and a scale vector"; ntype.enum_name_legacy = "SEPARATE_TRANSFORM"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_slice_string.cc b/source/blender/nodes/function/nodes/node_fn_slice_string.cc index cd75747de6c..04c98a37e4b 100644 --- a/source/blender/nodes/function/nodes/node_fn_slice_string.cc +++ b/source/blender/nodes/function/nodes/node_fn_slice_string.cc @@ -36,6 +36,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeSliceString", FN_NODE_SLICE_STRING); ntype.ui_name = "Slice String"; + ntype.ui_description = "Extract a string segment from a larger string"; ntype.enum_name_legacy = "SLICE_STRING"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_string_length.cc b/source/blender/nodes/function/nodes/node_fn_string_length.cc index db99961a7f1..950ac8ec066 100644 --- a/source/blender/nodes/function/nodes/node_fn_string_length.cc +++ b/source/blender/nodes/function/nodes/node_fn_string_length.cc @@ -27,6 +27,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeStringLength", FN_NODE_STRING_LENGTH); ntype.ui_name = "String Length"; + ntype.ui_description = "Output the number of characters in the given string"; ntype.enum_name_legacy = "STRING_LENGTH"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_string_to_value.cc b/source/blender/nodes/function/nodes/node_fn_string_to_value.cc index b5afeac6ecb..14c8c8e18d6 100644 --- a/source/blender/nodes/function/nodes/node_fn_string_to_value.cc +++ b/source/blender/nodes/function/nodes/node_fn_string_to_value.cc @@ -130,6 +130,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeStringToValue"); ntype.ui_name = "String to Value"; + ntype.ui_description = "Derive a numeric value from a given string representation"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; ntype.initfunc = node_init; diff --git a/source/blender/nodes/function/nodes/node_fn_transform_direction.cc b/source/blender/nodes/function/nodes/node_fn_transform_direction.cc index 835c72d3e28..6c04cd6250e 100644 --- a/source/blender/nodes/function/nodes/node_fn_transform_direction.cc +++ b/source/blender/nodes/function/nodes/node_fn_transform_direction.cc @@ -32,6 +32,8 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeTransformDirection", FN_NODE_TRANSFORM_DIRECTION); ntype.ui_name = "Transform Direction"; + ntype.ui_description = + "Apply a transformation matrix (excluding translation) to the given vector"; ntype.enum_name_legacy = "TRANSFORM_DIRECTION"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_transform_point.cc b/source/blender/nodes/function/nodes/node_fn_transform_point.cc index a222ddc3271..21a692a59f4 100644 --- a/source/blender/nodes/function/nodes/node_fn_transform_point.cc +++ b/source/blender/nodes/function/nodes/node_fn_transform_point.cc @@ -31,6 +31,7 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeTransformPoint", FN_NODE_TRANSFORM_POINT); ntype.ui_name = "Transform Point"; + ntype.ui_description = "Apply a transformation matrix to the given vector"; ntype.enum_name_legacy = "TRANSFORM_POINT"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_transpose_matrix.cc b/source/blender/nodes/function/nodes/node_fn_transpose_matrix.cc index 2b342406d61..208cdf4cba3 100644 --- a/source/blender/nodes/function/nodes/node_fn_transpose_matrix.cc +++ b/source/blender/nodes/function/nodes/node_fn_transpose_matrix.cc @@ -29,6 +29,8 @@ static void node_register() static blender::bke::bNodeType ntype; fn_node_type_base(&ntype, "FunctionNodeTransposeMatrix", FN_NODE_TRANSPOSE_MATRIX); ntype.ui_name = "Transpose Matrix"; + ntype.ui_description = + "Flip a matrix over its diagonal, turning columns into rows and vice-versa"; ntype.enum_name_legacy = "TRANSPOSE_MATRIX"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/function/nodes/node_fn_value_to_string.cc b/source/blender/nodes/function/nodes/node_fn_value_to_string.cc index 290875dae6b..a415c92ff43 100644 --- a/source/blender/nodes/function/nodes/node_fn_value_to_string.cc +++ b/source/blender/nodes/function/nodes/node_fn_value_to_string.cc @@ -128,6 +128,7 @@ static void node_register() fn_node_type_base(&ntype, "FunctionNodeValueToString", FN_NODE_VALUE_TO_STRING); ntype.ui_name = "Value to String"; + ntype.ui_description = "Generate a string representation of the given input value"; ntype.enum_name_legacy = "VALUE_TO_STRING"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; diff --git a/source/blender/nodes/geometry/nodes/node_geo_evaluate_closure.cc b/source/blender/nodes/geometry/nodes/node_geo_evaluate_closure.cc index e6f553a512c..e4cadb06fda 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_evaluate_closure.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_evaluate_closure.cc @@ -201,6 +201,7 @@ static void node_register() common_node_type_base(&ntype, "NodeEvaluateClosure", NODE_EVALUATE_CLOSURE); ntype.ui_name = "Evaluate Closure"; + ntype.ui_description = "Execute a given closure"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.declare = node_declare; ntype.initfunc = node_init; diff --git a/source/blender/nodes/geometry/nodes/node_geo_list_length.cc b/source/blender/nodes/geometry/nodes/node_geo_list_length.cc index ef6e3329d66..24ade2b52ef 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_list_length.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_list_length.cc @@ -95,7 +95,7 @@ static void node_register() static blender::bke::bNodeType ntype; geo_node_type_base(&ntype, "GeometryNodeListLength"); ntype.ui_name = "List Length"; - ntype.ui_description = "Return the length of a list"; + ntype.ui_description = "Count how many items are in a given list"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.geometry_node_execute = node_geo_exec; ntype.declare = node_declare; diff --git a/source/blender/nodes/geometry/nodes/node_geo_sample_grid.cc b/source/blender/nodes/geometry/nodes/node_geo_sample_grid.cc index 3dd35c1f0c2..2418eeb0a35 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_sample_grid.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_sample_grid.cc @@ -279,6 +279,7 @@ static void node_register() geo_node_type_base(&ntype, "GeometryNodeSampleGrid", GEO_NODE_SAMPLE_GRID); ntype.ui_name = "Sample Grid"; + ntype.ui_description = "Retrieve values from the specified volume grid"; ntype.enum_name_legacy = "SAMPLE_GRID"; ntype.nclass = NODE_CLASS_CONVERTER; ntype.initfunc = node_init; diff --git a/source/blender/nodes/shader/nodes/node_shader_output_linestyle.cc b/source/blender/nodes/shader/nodes/node_shader_output_linestyle.cc index 7ef7bfa2096..d95665dfc00 100644 --- a/source/blender/nodes/shader/nodes/node_shader_output_linestyle.cc +++ b/source/blender/nodes/shader/nodes/node_shader_output_linestyle.cc @@ -46,6 +46,8 @@ void register_node_type_sh_output_linestyle() sh_node_type_base(&ntype, "ShaderNodeOutputLineStyle", SH_NODE_OUTPUT_LINESTYLE); ntype.ui_name = "Line Style Output"; + ntype.ui_description = + "Control the mixing of texture information into the base color of line styles"; ntype.enum_name_legacy = "OUTPUT_LINESTYLE"; ntype.nclass = NODE_CLASS_OUTPUT; ntype.declare = file_ns::node_declare; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_white_noise.cc b/source/blender/nodes/shader/nodes/node_shader_tex_white_noise.cc index 0cd6e94cf4e..1d6565217e3 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_white_noise.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_white_noise.cc @@ -262,7 +262,7 @@ void register_node_type_sh_tex_white_noise() common_node_type_base(&ntype, "ShaderNodeTexWhiteNoise", SH_NODE_TEX_WHITE_NOISE); ntype.ui_name = "White Noise Texture"; - ntype.ui_description = "Return a random value or color based on an input seed"; + ntype.ui_description = "Calculate a random value or color based on an input seed"; ntype.enum_name_legacy = "TEX_WHITE_NOISE"; ntype.nclass = NODE_CLASS_TEXTURE; ntype.declare = file_ns::sh_node_tex_white_noise_declare; diff --git a/source/blender/nodes/shader/nodes/node_shader_uv_along_stroke.cc b/source/blender/nodes/shader/nodes/node_shader_uv_along_stroke.cc index a177c6de329..861283a96c7 100644 --- a/source/blender/nodes/shader/nodes/node_shader_uv_along_stroke.cc +++ b/source/blender/nodes/shader/nodes/node_shader_uv_along_stroke.cc @@ -30,6 +30,7 @@ void register_node_type_sh_uvalongstroke() sh_node_type_base(&ntype, "ShaderNodeUVAlongStroke", SH_NODE_UVALONGSTROKE); ntype.ui_name = "UV Along Stroke"; + ntype.ui_description = "UV coordinates that map a texture along the stroke length"; ntype.enum_name_legacy = "UVALONGSTROKE"; ntype.nclass = NODE_CLASS_INPUT; ntype.declare = file_ns::node_declare;