From 443e42d47cb2107eb81de7c330b1cef928d6cb74 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 30 Sep 2020 17:19:12 +0200 Subject: Subdivision Surfaces: make uv smooth items consistent with new boundary smooth This adds an option to smooth UV boundaries including corners, and renames the available options to None / Keep Corners / All. Ref D8413 --- source/blender/makesrna/intern/rna_modifier.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index a0a8d37fd56..97d6f09d492 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -1649,15 +1649,11 @@ static PropertyRNA *rna_def_property_subdivision_common(StructRNA *srna, const c }; static const EnumPropertyItem prop_uv_smooth_items[] = { - {SUBSURF_UV_SMOOTH_NONE, - "NONE", - 0, - "Sharp", - "UVs are not smoothed, boundaries are kept sharp"}, + {SUBSURF_UV_SMOOTH_NONE, "NONE", 0, "None", "UVs are not smoothed, boundaries are kept sharp"}, {SUBSURF_UV_SMOOTH_PRESERVE_CORNERS, "PRESERVE_CORNERS", 0, - "Smooth, keep corners", + "Keep Corners", "UVs are smoothed, corners on discontinuous boundary are kept sharp"}, # if 0 {SUBSURF_UV_SMOOTH_PRESERVE_CORNERS_AND_JUNCTIONS, @@ -1677,12 +1673,8 @@ static PropertyRNA *rna_def_property_subdivision_common(StructRNA *srna, const c 0, "Smooth, keep corners", "UVs are smoothed, boundaries are kept sharp"}, - {SUBSURF_UV_SMOOTH_ALL, - "PRESERVE_BOUNDARIES", - 0, - "Smooth all", - "UVs and boundaries are smoothed"}, # endif + {SUBSURF_UV_SMOOTH_ALL, "PRESERVE_BOUNDARIES", 0, "All", "UVs and boundaries are smoothed"}, {0, NULL, 0, NULL, NULL}, }; -- cgit v1.2.3