[Bf-blender-cvs] [3696574cdde] soc-2019-cycles-procedural: Update Vector Math tool tips.
OmarSquircleArt
noreply at git.blender.org
Fri Aug 2 14:37:40 CEST 2019
Commit: 3696574cddef26fb9c2d948d10fd9b5b1a45a2b4
Author: OmarSquircleArt
Date: Fri Aug 2 14:38:45 2019 +0200
Branches: soc-2019-cycles-procedural
https://developer.blender.org/rB3696574cddef26fb9c2d948d10fd9b5b1a45a2b4
Update Vector Math tool tips.
===================================================================
M source/blender/makesrna/intern/rna_nodetree.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index eac2eb44fd0..1b72c880a3f 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -152,23 +152,23 @@ const EnumPropertyItem rna_enum_node_math_items[] = {
};
const EnumPropertyItem rna_enum_node_vec_math_items[] = {
- {NODE_VECTOR_MATH_ADD, "ADD", 0, "Add", ""},
- {NODE_VECTOR_MATH_SUBTRACT, "SUBTRACT", 0, "Subtract", ""},
- {NODE_VECTOR_MATH_MULTIPLY, "MULTIPLY", 0, "Multiply", "Entrywise multiply"},
+ {NODE_VECTOR_MATH_ADD, "ADD", 0, "Add", "A + B"},
+ {NODE_VECTOR_MATH_SUBTRACT, "SUBTRACT", 0, "Subtract", "A - B"},
+ {NODE_VECTOR_MATH_MULTIPLY, "MULTIPLY", 0, "Multiply", "Entrywise multiply."},
{NODE_VECTOR_MATH_DIVIDE, "DIVIDE", 0, "Divide", "Entrywise divide"},
{0, "", ICON_NONE, NULL, NULL},
- {NODE_VECTOR_MATH_CROSS_PRODUCT, "CROSS_PRODUCT", 0, "Cross Product", ""},
- {NODE_VECTOR_MATH_PROJECT, "PROJECT", 0, "Project", ""},
- {NODE_VECTOR_MATH_REFLECT, "REFLECT", 0, "Reflect", ""},
+ {NODE_VECTOR_MATH_CROSS_PRODUCT, "CROSS_PRODUCT", 0, "Cross Product", "A x B"},
+ {NODE_VECTOR_MATH_PROJECT, "PROJECT", 0, "Project", "Project A onto B"},
+ {NODE_VECTOR_MATH_REFLECT, "REFLECT", 0, "Reflect", "Reflect A around the normal B"},
{NODE_VECTOR_MATH_AVERAGE, "AVERAGE", 0, "Average", "Normalized sum of vectors"},
{0, "", ICON_NONE, NULL, NULL},
- {NODE_VECTOR_MATH_DOT_PRODUCT, "DOT_PRODUCT", 0, "Dot Product", ""},
- {NODE_VECTOR_MATH_DISTANCE, "DISTANCE", 0, "Distance", ""},
- {NODE_VECTOR_MATH_LENGTH, "LENGTH", 0, "Length", ""},
- {NODE_VECTOR_MATH_SCALE, "SCALE", 0, "Scale", ""},
- {NODE_VECTOR_MATH_NORMALIZE, "NORMALIZE", 0, "Normalize", ""},
+ {NODE_VECTOR_MATH_DOT_PRODUCT, "DOT_PRODUCT", 0, "Dot Product", "A . B"},
+ {NODE_VECTOR_MATH_DISTANCE, "DISTANCE", 0, "Distance", "Distance between A and B"},
+ {NODE_VECTOR_MATH_LENGTH, "LENGTH", 0, "Length", "Length of A"},
+ {NODE_VECTOR_MATH_SCALE, "SCALE", 0, "Scale", "Multiply A by Scale"},
+ {NODE_VECTOR_MATH_NORMALIZE, "NORMALIZE", 0, "Normalize", "Normalize A"},
{0, "", ICON_NONE, NULL, NULL},
- {NODE_VECTOR_MATH_SNAP, "SNAP", 0, "Snap", "Entrywise floor"},
+ {NODE_VECTOR_MATH_SNAP, "SNAP", 0, "Snap", "Round A to the nearest integer multiple of B"},
{NODE_VECTOR_MATH_MODULO, "MODULO", 0, "Modulo", "Entrywise modulo"},
{NODE_VECTOR_MATH_ABSOLUTE, "ABSOLUTE", 0, "Absolute", "Entrywise absolute"},
{NODE_VECTOR_MATH_MINIMUM, "MINIMUM", 0, "Minimum", "Entrywise minimum"},
More information about the Bf-blender-cvs
mailing list