From 06de1bddae65dca06ec44b996372ce6a6e8d70e8 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Thu, 2 Jul 2020 10:47:02 -0400 Subject: UI: Small Tweaks to Modifier Layouts for Consistency These changes are smaller, made based on feedback and a pass on all the layouts for clarity and consistency. The Multires modifier UI will be addressed in a separate patch. Here is an overview of the changes: Renaming Options: - Build: "Start" -> "Start Frame" - Curve: "From Radius" -> "Size from Radius" - Screw: "Calc Order" -> "Calculate Order" - Displace, Warp, Wave: "Texture Coordinates Object" -> "Object" Move Mode Toggle to Top & Expand: - Bevel, Boolean, Normal Edit, Subdivision Use Columns for Tighter Spacing: - Displace, Explode, Ocean, Particle Instance, Remesh, Shrinkwrap, Solidify, Warp, Weighted Normal, Wave Misc: - Bevel: Set inactive properties for vertex bevel - Mesh Sequence Cache: Remove box for cache file - Skin: Don't align "Mark Loose" and "Clear Loose" - Array: Expand relative offset subpanel by default - Array: Move start cap, end cap to a new subpanel - Bevel: Move width type above width Differential Revision: https://developer.blender.org/D8115 --- source/blender/modifiers/intern/MOD_weighted_normal.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/blender/modifiers/intern/MOD_weighted_normal.c') diff --git a/source/blender/modifiers/intern/MOD_weighted_normal.c b/source/blender/modifiers/intern/MOD_weighted_normal.c index 42022369279..f174b6d5aa4 100644 --- a/source/blender/modifiers/intern/MOD_weighted_normal.c +++ b/source/blender/modifiers/intern/MOD_weighted_normal.c @@ -713,6 +713,7 @@ static bool dependsOnNormals(ModifierData *UNUSED(md)) static void panel_draw(const bContext *C, Panel *panel) { + uiLayout *col; uiLayout *layout = panel->layout; PointerRNA ptr; @@ -726,8 +727,9 @@ static void panel_draw(const bContext *C, Panel *panel) uiItemR(layout, &ptr, "weight", 0, IFACE_("Weight"), ICON_NONE); uiItemR(layout, &ptr, "thresh", 0, IFACE_("Threshold"), ICON_NONE); - uiItemR(layout, &ptr, "keep_sharp", 0, NULL, ICON_NONE); - uiItemR(layout, &ptr, "face_influence", 0, NULL, ICON_NONE); + col = uiLayoutColumn(layout, false); + uiItemR(col, &ptr, "keep_sharp", 0, NULL, ICON_NONE); + uiItemR(col, &ptr, "face_influence", 0, NULL, ICON_NONE); modifier_vgroup_ui(layout, &ptr, &ob_ptr, "vertex_group", "invert_vertex_group", NULL); -- cgit v1.2.3