Curves: Add descriptions for normal mode RNA enum
This is only exposed in the "Set Normal Node" now but will be used in more places in the future.
This commit is contained in:
parent
f5128f219f
commit
1c0cd50472
|
@ -27,8 +27,17 @@ const EnumPropertyItem rna_enum_curves_types[] = {
|
|||
};
|
||||
|
||||
const EnumPropertyItem rna_enum_curve_normal_modes[] = {
|
||||
{NORMAL_MODE_MINIMUM_TWIST, "MINIMUM_TWIST", ICON_NONE, "Minimum Twist", ""},
|
||||
{NORMAL_MODE_Z_UP, "Z_UP", ICON_NONE, "Z Up", ""},
|
||||
{NORMAL_MODE_MINIMUM_TWIST,
|
||||
"MINIMUM_TWIST",
|
||||
ICON_NONE,
|
||||
"Minimum Twist",
|
||||
"Calculate normals with the smallest twist around the curve tangent across the whole curve"},
|
||||
{NORMAL_MODE_Z_UP,
|
||||
"Z_UP",
|
||||
ICON_NONE,
|
||||
"Z Up",
|
||||
"Calculate normals perpendicular to the Z axis and the curve tangent. If a series of points "
|
||||
"is vertical, the X axis is used"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue