Commit: 96af50938ff976d4b51d316c28cab16d3b42f2c7
Author: Hans Goudey
Date: Mon Jul 22 20:25:21 2019 -0400
Branches: soc-2019-bevel-profiles
https://developer.blender.org/rB96af50938ff976d4b51d316c28cab16d3b42f2c7
Small cleanup in Modifier RNA File: RNA definitions condensed
===================================================================
M source/blender/makesrna/intern/rna_modifier.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_modifier.c
b/source/blender/makesrna/intern/rna_modifier.c
index 14870526da1..eccb3d6a3d1 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -3477,20 +3477,11 @@ static void rna_def_modifier_bevel(BlenderRNA *brna)
static const EnumPropertyItem prop_limit_method_items[] = {
{0, "NONE", 0, "None", "Bevel the entire mesh by a constant amount"},
- {MOD_BEVEL_ANGLE,
- "ANGLE",
- 0,
- "Angle",
+ {MOD_BEVEL_ANGLE, "ANGLE", 0, "Angle",
"Only bevel edges with sharp enough angles between faces"},
- {MOD_BEVEL_WEIGHT,
- "WEIGHT",
- 0,
- "Weight",
+ {MOD_BEVEL_WEIGHT, "WEIGHT", 0, "Weight",
"Use bevel weights to determine how much bevel is applied in edge
mode"},
- {MOD_BEVEL_VGROUP,
- "VGROUP",
- 0,
- "Vertex Group",
+ {MOD_BEVEL_VGROUP, "VGROUP", 0, "Vertex Group",
"Use vertex group weights to select whether vertex or edge is beveled"},
{0, NULL, 0, NULL, NULL},
};
@@ -3498,15 +3489,9 @@ static void rna_def_modifier_bevel(BlenderRNA *brna)
static const EnumPropertyItem prop_val_type_items[] = {
{MOD_BEVEL_AMT_OFFSET, "OFFSET", 0, "Offset", "Amount is offset of new
edges from original"},
{MOD_BEVEL_AMT_WIDTH, "WIDTH", 0, "Width", "Amount is width of new
face"},
- {MOD_BEVEL_AMT_DEPTH,
- "DEPTH",
- 0,
- "Depth",
+ {MOD_BEVEL_AMT_DEPTH, "DEPTH", 0, "Depth",
"Amount is perpendicular distance from original edge to bevel face"},
- {MOD_BEVEL_AMT_PERCENT,
- "PERCENT",
- 0,
- "Percent",
+ {MOD_BEVEL_AMT_PERCENT, "PERCENT", 0, "Percent",
"Amount is percent of adjacent edge length"},
{0, NULL, 0, NULL, NULL},
};
@@ -3514,10 +3499,7 @@ static void rna_def_modifier_bevel(BlenderRNA *brna)
static EnumPropertyItem prop_harden_normals_items[] = {
{MOD_BEVEL_FACE_STRENGTH_NONE, "FSTR_NONE", 0, "None", "Do not set face
strength"},
{MOD_BEVEL_FACE_STRENGTH_NEW, "FSTR_NEW", 0, "New", "Set face strength
on new faces only"},
- {MOD_BEVEL_FACE_STRENGTH_AFFECTED,
- "FSTR_AFFECTED",
- 0,
- "Affected",
+ {MOD_BEVEL_FACE_STRENGTH_AFFECTED, "FSTR_AFFECTED", 0, "Affected",
"Set face strength on new and affected faces only"},
{MOD_BEVEL_FACE_STRENGTH_ALL, "FSTR_ALL", 0, "All", "Set face strength
on all faces"},
{0, NULL, 0, NULL, NULL},
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs