Commit: 443e42d47cb2107eb81de7c330b1cef928d6cb74
Author: Brecht Van Lommel
Date:   Wed Sep 30 17:19:12 2020 +0200
Branches: master
https://developer.blender.org/rB443e42d47cb2107eb81de7c330b1cef928d6cb74

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

===================================================================

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 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},
   };

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to